pdfrx_web
    Preparing search index...

    Type Alias PdfDest

    A navigation destination inside a document. ID destinations follow a logical page through rearrangement; page-number destinations keep pointing at a fixed position.

    Use PdfPage.dest to create either form without handling opaque page IDs or 1-based page numbers directly:

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