ComPDFKit Web SDK
    Preparing search index...

    Interface WebViewerInstance

    The object a WebViewer call resolves to.

    interface WebViewerInstance {
        Core: typeof Core & {
            annotationManager: AnnotationManager;
            documentViewer: DocumentViewer;
            getDocumentViewers(): DocumentViewer[];
        };
        UI: typeof UI;
    }
    Index
    Core: typeof Core & {
        annotationManager: AnnotationManager;
        documentViewer: DocumentViewer;
        getDocumentViewers(): DocumentViewer[];
    }

    The core namespace bound to this instance's main viewer.

    Type Declaration

    • ReadonlyannotationManager: AnnotationManager

      The annotation manager of the main document viewer.

    • ReadonlydocumentViewer: DocumentViewer

      The main document viewer of this instance.

    • getDocumentViewers: function
      • Returns all document viewers of this instance.

        Returns DocumentViewer[]

        The document viewers; the second one exists while the side-by-side view is open.

    UI: typeof UI

    The UI namespace of this instance.