pdfrx_web
    Preparing search index...

    Interface ViewTransformSnapshot

    A serializable view transform together with the viewport in which it was captured. Passing the snapshot back to PdfrxViewer.setViewTransform preserves the same composition when the viewer has since changed size.

    interface ViewTransformSnapshot {
        viewSize: Size;
        xZoomed: number;
        yZoomed: number;
        zoom: number;
    }

    Hierarchy (View Summary)

    Index
    viewSize: Size

    Logical viewport size at capture time.

    xZoomed: number

    View-space x of the document origin, i.e. the post-zoom x translation.

    yZoomed: number

    View-space y of the document origin, i.e. the post-zoom y translation.

    zoom: number

    Uniform scale factor (view pixels per document unit).