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

    Show / Hide Table of Contents

    ZoomInClickEvent Interface

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

    Represents an event that is fired when the zoom in button is clicked.

    • TypeScript
    export declare interface ZoomInClickEvent extends ViewerEvent
    Remarks

    This event provides read-only access to the current zoom level and allows modification of the target zoom level before it's applied. The event can be prevented to stop the zoom operation entirely.

    Fields

    zoomLevelBefore

    The current zoom level before the change.

    • TypeScript
    readonly zoomLevelBefore: number;

    zoomLevelAfter

    The target zoom level after the change. This value can be modified to customize the zoom operation.

    • TypeScript
    zoomLevelAfter: number;

    Inherited Fields

    defaultPrevented

    Gets a value indicating whether the event's default action has been canceled.

    (Inherited from ViewerEvent)

    Inherited Methods

    preventDefault

    Cancels the event if it is cancelable, without stopping further propagation of the event.

    (Inherited from ViewerEvent)

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.