ComPDFKit Web SDK
    Preparing search index...

    Function setActiveDocumentViewerKey

    • Switches the active document viewer (the left / right pane in side-by-side or compare mode). Only registered keys are accepted; others are ignored with a warning. Triggers activeDocumentViewerChanged ([new, old]) when the key changes.

      Parameters

      • documentViewerKey: number

        The viewer key.

      Returns void