ComPDF React Native - v3.0.0
    Preparing search index...

    Variable CPDFToolbarActionConst

    CPDFToolbarAction: {
        BACK: "back";
        THUMBNAIL: "thumbnail";
        SEARCH: "search";
        BOTA: "bota";
        MENU: "menu";
        VIEW_SETTINGS: "viewSettings";
        DOCUMENT_EDITOR: "documentEditor";
        SECURITY: "security";
        WATERMARK: "watermark";
        DOCUMENT_INFO: "documentInfo";
        SAVE: "save";
        SHARE: "share";
        OPEN_DOCUMENT: "openDocument";
        FLATTENED: "flattened";
        SNIP: "snip";
        CUSTOM: "custom";
    } = ...

    Toolbar actions supported in the displayed PDF view

    Type Declaration

    • ReadonlyBACK: "back"

      Back button.

      Exits the current PDF view when clicked.

      • On Android: always displayed at the far left of the toolbar.
      • On iOS: displayed based on the configured toolbar position.
    • ReadonlyTHUMBNAIL: "thumbnail"

      Thumbnail list.

      Displays page thumbnails of the current document.

    • Text search.

      Provides keyword search functionality within the PDF document.

    • ReadonlyBOTA: "bota"

      BOTA panel.

      Displays related document navigation content:

      • b: Bookmarks
      • o: Outline
      • t: Thumbnails
      • a: Annotations
    • Menu button.

      Opens the main toolbar menu.

    • ReadonlyVIEW_SETTINGS: "viewSettings"

      View settings.

      Controls display-related options such as zoom mode, page layout, and reading preferences.

    • ReadonlyDOCUMENT_EDITOR: "documentEditor"

      Document editor.

      Opens document editing features such as content editing or annotation editing.

    • ReadonlySECURITY: "security"

      Security settings.

      Opens security-related options such as password protection and permission settings.

    • ReadonlyWATERMARK: "watermark"

      Watermark management.

      Used to add, edit, or remove watermarks in the document.

    • ReadonlyDOCUMENT_INFO: "documentInfo"

      Document information.

      Displays metadata and basic information of the PDF document.

    • ReadonlySAVE: "save"

      Save document.

      Saves changes made to the current document.

    • ReadonlySHARE: "share"

      Share document.

      Opens the system share dialog to export or share the document.

    • ReadonlyOPEN_DOCUMENT: "openDocument"

      Open document.

      Opens another PDF document.

    • ReadonlyFLATTENED: "flattened"

      Flatten annotations.

      Merges annotations into the document content so they can no longer be edited.

    • ReadonlySNIP: "snip"

      Snip tool.

      Allows capturing a selected area of the document.

    • ReadonlyCUSTOM: "custom"

      Custom toolbar action.

      Represents a user-defined toolbar action.