• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Use of divid in adobe embed api

New Here ,
Jan 01, 2023 Jan 01, 2023

Copy link to clipboard

Copied

var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});
adobeDCView.previewFile( {
`content: {location: {url: "<Path to your PDF/yourfilename.pdf">}},
`metaData: {fileName: "yourfilename.pdf"}
`});
In this the divid is just used for Setting up the rendering area ;Or else will they use it for any other purpose
I just want to know the internal working code for this one

 

TOPICS
How to , PDF Embed API , PDF Extract API , PDF Services API

Views

71

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 03, 2023 Jan 03, 2023

Copy link to clipboard

Copied

LATEST

The divId value specifies where the library will 'draw' out the PDF control. So yes, it's used to set it up. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources