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

Use of divid in adobe embed api

New Here ,
Jan 01, 2023 Jan 01, 2023
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
281
Translate
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
LATEST

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

Translate
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