Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface IPdfFragmentSelectorData

    Contains the parsed PDF fragment selector components. A valid PDF fragment selector must specify either namedDest or pageNumber

    interface IPdfFragmentSelectorData {
        highlight?: DOMRect;
        namedDest?: string;
        pageNumber?: number;
        pageRects?: DOMRect[];
        viewRect?: DOMRect;
    }

    Properties

    highlight?: DOMRect

    Highlight a rectangle on the chosen page. Contains the coordinates of the sides of the rectangle measured from the top left corner of the page in default user space coordinate system.

    See https://tools.ietf.org/html/rfc8118#page-3.

    namedDest?: string

    The named destination component if any

    pageNumber?: number

    The page number component if any.

    pageRects?: DOMRect[]

    Rectangles on the chosen page. Contains the coordinates of the sides of the rectangle measured from the top left corner of the page in default user space coordinate system.

    viewRect?: DOMRect

    Set the scale and scrolling factors by specifing the rectangle that should be in view. The rect should use coordinates in default user space coordinate system.

    See https://tools.ietf.org/html/rfc8118#page-3