ComPDFKit Web SDK
    Preparing search index...

    Function exportBookmarks

    • Exports the user bookmarks.

      Parameters

      • OptionaldocumentViewerKey: number

        The viewer key; the active viewer by default.

      Returns Record<number, string>

      An object mapping 0-based page indexes to bookmark texts.