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

    Show / Hide Table of Contents

    ZoomChangedEvent Interface

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

    Represents an event that is emitted when the zoom level has changed.

    • TypeScript
    export declare interface ZoomChangedEvent extends ViewerEvent
    Remarks

    This interface defines the properties available in a zoom changed event, including the previous and current zoom levels. This event is emitted after the zoom operation has been completed successfully.

    Fields

    zoomLevelBefore

    The zoom level before the change.

    • TypeScript
    readonly zoomLevelBefore: number | "automatic" | "pageFit" | "pageWidth";

    zoomLevelAfter

    The zoom level after the change.

    • TypeScript
    readonly zoomLevelAfter: number | "automatic" | "pageFit" | "pageWidth";

    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.