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

    Interface IVisibleContentRectsRangeDataExperimental

    A serializable representation of an IVisibleContentRectsRange: a continuous run of content in an IVisibleContentAreaRectsResultData, made of the rects in IVisibleContentAreaRectsResultData.rects from startIndex up to, but not including, endIndex.

    All rects in a run belong to the same ReaderDocument.

    This API is experimental and might be subject to changes in future releases.

    interface IVisibleContentRectsRangeData {
        boundingClientRect: IRect;
        endIndex: number;
        locator: ISimpleLocatorData;
        startIndex: number;
    }

    Properties

    boundingClientRect: IRect

    The bounding rectangle that most closely contains all rects in this run. Coordinates are in application viewport coordinate space.

    This bound is not clipped, so it may cover content hidden by a clipping ancestor.

    endIndex: number

    The index in IVisibleContentAreaRectsResultData.rects one past the last rect of this run.

    The locator of this run. It covers the content of the run's rects and can extend over adjacent content that has no rect, but it never covers painted content outside the run.

    startIndex: number

    The index in IVisibleContentAreaRectsResultData.rects of the first rect of this run.