ComPDFKit Web SDK
    Preparing search index...

    Variable PRESET_BUTTON_TYPESConst

    PRESET_BUTTON_TYPES: {
        COMPARE_DOWNLOAD: "compareDownloadButton";
        COMPARE_FULLSCREEN: "compareFullscreenButton";
        COMPARE_PRINT: "comparePrintButton";
        CONTENT_EDIT_REDO: "contentEditRedoButton";
        CONTENT_EDIT_UNDO: "contentEditUndoButton";
        DARK_THEME: "darkThemeButton";
        DIGITAL_SIGNATURE: "digitalSignatureButton";
        DOWNLOAD: "downloadButton";
        ELECTRONIC_SIGNATURE: "electronicSignatureButton";
        EXIT_COMPARE: "exitCompareButton";
        FILE_PICKER: "filePickerButton";
        FILL_FORM: "fillFormButton";
        FLATTEN_DOWNLOAD: "flattenDownloadButton";
        FULLSCREEN: "fullscreenButton";
        LEFT_PANEL: "leftPanelButton";
        LIGHT_THEME: "lightThemeButton";
        PAGE_EDITOR_CANCEL: "pageEditorCancelButton";
        PAGE_EDITOR_SAVE: "pageEditorSaveButton";
        PAGE_EDITOR_SAVE_AS: "pageEditorSaveAsButton";
        PRINT: "printButton";
        REDO: "redoButton";
        REMOVE_PASSWORD: "removePasswordButton";
        SELECT_TOOLS: "selectToolsButton";
        SET_PASSWORD: "setPasswordButton";
        SETTINGS: "settingsButton";
        START_COMPARE: "startCompareButton";
        UNDO: "undoButton";
        VERIFY_SIGNATURE: "verifySignatureButton";
        VIEW_SETTINGS: "viewSettingsButton";
    }

    Values of the buttonType of a PresetButton.

    Type Declaration

    • ReadonlyCOMPARE_DOWNLOAD: "compareDownloadButton"

      Downloads the comparison result.

    • ReadonlyCOMPARE_FULLSCREEN: "compareFullscreenButton"

      Shows the comparison result in full screen.

    • ReadonlyCOMPARE_PRINT: "comparePrintButton"

      Prints the comparison result.

    • ReadonlyCONTENT_EDIT_REDO: "contentEditRedoButton"

      Redoes the last undone text or image edit.

    • ReadonlyCONTENT_EDIT_UNDO: "contentEditUndoButton"

      Undoes the last text or image edit.

    • ReadonlyDARK_THEME: "darkThemeButton"

      Switches to the dark theme.

    • ReadonlyDIGITAL_SIGNATURE: "digitalSignatureButton"

      Adds a digital signature.

    • ReadonlyDOWNLOAD: "downloadButton"

      Downloads the document.

    • ReadonlyELECTRONIC_SIGNATURE: "electronicSignatureButton"

      Adds an electronic signature.

    • ReadonlyEXIT_COMPARE: "exitCompareButton"

      Leaves document comparison.

    • ReadonlyFILE_PICKER: "filePickerButton"

      Opens a file from the user's computer.

    • ReadonlyFILL_FORM: "fillFormButton"

      Switches between form design mode and form filling mode.

    • ReadonlyFLATTEN_DOWNLOAD: "flattenDownloadButton"

      Downloads the document with its annotations flattened.

    • ReadonlyFULLSCREEN: "fullscreenButton"

      Turns full screen mode on or off.

    • ReadonlyLEFT_PANEL: "leftPanelButton"

      Opens the left panel, with a menu of its tabs.

    • ReadonlyLIGHT_THEME: "lightThemeButton"

      Switches to the light theme.

    • ReadonlyPAGE_EDITOR_CANCEL: "pageEditorCancelButton"

      Leaves the page editor without saving.

    • ReadonlyPAGE_EDITOR_SAVE: "pageEditorSaveButton"

      Saves the page editor changes.

    • ReadonlyPAGE_EDITOR_SAVE_AS: "pageEditorSaveAsButton"

      Downloads the edited document and stays in the page editor.

    • ReadonlyPRINT: "printButton"

      Prints the document.

    • ReadonlyREDO: "redoButton"

      Redoes the last undone annotation change.

    • ReadonlyREMOVE_PASSWORD: "removePasswordButton"

      Removes the document password.

    • ReadonlySELECT_TOOLS: "selectToolsButton"

      Selection tools menu (annotation and text selection).

    • ReadonlySET_PASSWORD: "setPasswordButton"

      Opens the dialog that sets a document password.

    • ReadonlySETTINGS: "settingsButton"

      Opens the settings dialog.

    • ReadonlySTART_COMPARE: "startCompareButton"

      Starts comparing the two documents.

    • ReadonlyUNDO: "undoButton"

      Undoes the last annotation change.

    • ReadonlyVERIFY_SIGNATURE: "verifySignatureButton"

      Verifies the digital signatures of the document.

    • ReadonlyVIEW_SETTINGS: "viewSettingsButton"

      Opens or closes the view settings panel.