Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / TextLayout Class / GetTextRects Method
The code point index of the range start.
The number of code points in the range.
Indicates if the additional spacing before text lines should be included.
Indicates if the additional spacing after text lines should be included.

In This Topic
    GetTextRects Method
    In This Topic
    Returns the list of TextRect objects for the specified range of code points.
    Syntax
    'Declaration
     
    Public Function GetTextRects( _
       ByVal codePointIndex As System.Integer, _
       ByVal codePointCount As System.Integer, _
       Optional ByVal withLineGap As System.Boolean, _
       Optional ByVal withLineSpacing As System.Boolean _
    ) As System.Collections.Generic.IReadOnlyList(Of TextRect)
    public System.Collections.Generic.IReadOnlyList<TextRect> GetTextRects( 
       System.int codePointIndex,
       System.int codePointCount,
       System.bool withLineGap,
       System.bool withLineSpacing
    )

    Parameters

    codePointIndex
    The code point index of the range start.
    codePointCount
    The number of code points in the range.
    withLineGap
    Indicates if the additional spacing before text lines should be included.
    withLineSpacing
    Indicates if the additional spacing after text lines should be included.

    Return Value

    A read-only list of text rectangles.
    See Also