ComPDFKit Web SDK
    Preparing search index...

    Interface ContentTextSelectionGeometry

    Text and line rectangles of a selection in a text content box.

    interface ContentTextSelectionGeometry {
        range: { end: ContentTextPosition; start: ContentTextPosition };
        rects: Core.Annotations.Rect[];
        text: string;
    }
    Index

    Start and end layout positions of the selection.

    Type Declaration

    Native line rectangles in unrotated page points, independent of zoom and view rotation.

    text: string

    Text of the native layout range (including native CRLF paragraph terminators).