GemBox.PdfViewer
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    UI Class

    Namespace:
    @gembox/pdfviewer
    Assembly:
    @gembox/pdfviewer

    Provides access to user interface components and configuration options for the PDF viewer.

    • TypeScript
    export declare class UI
    Inheritance:
    UI
    Remarks

    This class contains references to UI elements that can be customized, including theme settings, toolbar configuration, and side panel options.

    Fields

    theme

    Gets or sets the theme for the PDF viewer.

    • TypeScript
    readonly theme?: "light" | "dark" | "red" | "dark-red" | "blue" | "dark-blue" | "green" | "dark-green";
    Remarks

    Controls the color scheme of the viewer. Predefined theme from Theme can be picked to match your application's color palette. Defaults to "light".

    toolbar

    Gets the toolbar component of the PDF viewer.

    • TypeScript
    readonly toolbar: ToolbarUI;
    Field Value
    ToolbarUI
    Remarks

    Provides access to toolbar configuration and functionality, including buttons for common actions like opening files, printing, zooming, and navigating through pages.

    sidePanel

    Gets the side panel component of the PDF viewer.

    • TypeScript
    readonly sidePanel: SidePanelUI;
    Field Value
    SidePanelUI
    Remarks

    Controls the side panel that typically contains additional functionality such as layers, outlines, thumbnails, and other navigation aids.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.