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

    Show / Hide Table of Contents

    ZoomChangingEvent Interface

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

    Represents an event that is emitted when the zoom level is about to change.

    • TypeScript
    export declare interface ZoomChangingEvent extends ViewerEvent
    Remarks

    This interface defines the properties available in a zoom changing event, including the current and future zoom levels. The zoomLevelAfter property can be modified by event listeners to change the target zoom level.

    Fields

    zoomLevelBefore

    The zoom level before the change.

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

    zoomLevelAfter

    The target zoom level that can be modified by event listeners.

    • TypeScript
    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.