pdfrx_web
    Preparing search index...

    Class PageSourceRegistry

    Resolves session-level source IDs to the open PDF documents owned by one client.

    Index
    • Returns whether a live document is registered for documentId.

      Parameters

      • documentId: string

        The stable document identifier.

      Returns boolean

      Whether the condition is satisfied.

    • Resolves a zero-based physical source page.

      Parameters

      • documentId: string

        The stable document identifier.

      • pageIndex: number

        The 0-based page index.

      Returns PdfPage

      The resulting PdfPage.

      RangeError if missing.

    • Registers an open PDF and captures its immutable physical source pages.

      Parameters

      • documentId: string

        The stable document identifier.

      • document: PdfDocument

        The PDF document to process.

      Returns void

    • Removes a source mapping without disposing the caller-owned document.

      Parameters

      • documentId: string

        The stable document identifier.

      Returns void