pdfrx_web
    Preparing search index...

    Interface PdfDestByPageNumber

    Destination that keeps pointing at a fixed 1-based position.

    The simplest way to create one is PdfPage.dest on the page currently occupying the desired position:

    const dest = document.pages[4]!.dest({
    by: 'pageNumber',
    command: 'fit',
    params: [],
    });

    The resulting destination keeps page number 5 even if another logical page later occupies that position.

    interface PdfDestByPageNumber {
        by: "pageNumber";
        command: string;
        pageNumber: number;
        params: readonly (number | null)[];
    }
    Index
    by: "pageNumber"
    command: string

    Lower-cased explicit-destination type: xyz, fit, fith, fitv, fitr, fitb, fitbh, or fitbv.

    The corresponding PDF names and their semantics are specified by ISO 32000-2:2020, 12.3.2.2, Table 149.

    pageNumber: number

    1-based position to resolve when the destination is followed or encoded.

    params: readonly (number | null)[]

    Operands following the destination type, in the order prescribed by ISO 32000-2:2020, 12.3.2.2, Table 149. Depending on command, these are left, top, right, bottom, and/or zoom; null represents a PDF null operand, meaning that the corresponding current value is retained.