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

PDFEmbed SDK Typescript Definition

Community Beginner ,
Aug 17, 2021 Aug 17, 2021

Copy link to clipboard

Copied

Does Adobe publish a typescript definition for the SDK?

I've been trying to build one myself but its is very difficult to put together, as there is no comprehensive list of properties any particular option takes.


Here is some portions i've completed. You can see how difficult it is to stitch this together.

 

export namespace AdobePdfSdk {
  export interface ViewerConfig {
    enableAnnotationAPIs?: boolean;
    showDisabledSaveButton?: boolean;
    showAnnotationTools?: boolean;
    showLeftHandPanel?: boolean;
  }

  export enum EmbedModes {
    'SIZED_CONTAINER' = 'SIZED_CONTAINER',
    'IN_LINE' = 'IN_LINE',
  }
....

 This is the worst part of the closed source project, it is impossible to inspect the code and without comprehensive documentation it is soo hard.

TOPICS
PDF Embed API

Views

612

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
no replies

Have something to add?

Join the conversation
Resources