ToolbarUIOptions Interface
Configuration options for the toolbar in the PDF viewer.
export declare interface ToolbarUIOptions
Remarks
This interface defines all available toolbar buttons and their configuration options, allowing customization of which buttons or elements appear and how they behave. Each property is optional, enabling selective inclusion of toolbar functionality based on application requirements.
Fields
sidePanelButton
Options for the side panel button in the toolbar.
sidePanelButton?: SidePanelButtonUIOptions;
Field Value
openButton
Options for the open button in the toolbar.
openButton?: OpenButtonUIOptions;
Field Value
downloadButton
Options for the download button in the toolbar.
downloadButton?: DownloadButtonUIOptions;
Field Value
printButton
Options for the print button in the toolbar.
printButton?: PrintButtonUIOptions;
Field Value
signatureButton
Options for the signature button in the toolbar.
signatureButton?: SignatureButtonUIOptions;
Field Value
pageNavigation
All page navigation options including first, previous, next, and last page buttons.
pageNavigation?: PageNavigationUIOptions;
Field Value
zoom
All zooming options including zoom in, zoom out, and fit width/height buttons.
zoom?: ZoomUIOptions;
Field Value
textSelectionButton
Options for the text selection button in the toolbar.
textSelectionButton?: TextSelectionButtonUIOptions;
Field Value
panModeButton
Options for the pan mode button in the toolbar.
panModeButton?: PanModeButtonUIOptions;
Field Value
search
Options for the search functionality in the toolbar.
search?: SearchUIOptions;
Field Value
freeText
Options for the free text annotation feature in the toolbar.
freeText?: FreeTextUIOptions;
Field Value
Remarks
This property configures the visibility and behavior of free text annotation controls, allowing users to add and customize free text annotations in PDF documents.
handDrawing
Options for the hand drawing annotation feature in the toolbar.
handDrawing?: HandDrawingUIOptions;
Field Value
Remarks
This property configures the visibility and behavior of hand drawing annotation controls, allowing users to add and customize freehand drawings in PDF documents.