Documents for PDF .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / TextRect Class / TextRect Constructor
Index of the first code point in the text fragment.
The number of code points in the text fragment.
The X coordinate of the rectangle.
The Y coordinate of the rectangle.
The width of the rectangle.
The height of the rectangle.
Indicates if the text fragment should appear from right to left.
Indicates if the text fragment should appear upright with vertical reading direction.
Indicates if the text fragment should appear rotated 90 or -90 degrees.
Indicates if sideways should be rotated counterclockwise.

In This Topic
    TextRect Constructor
    In This Topic
    Initializes a new instance of the TextRect class with the specified coordinates, size, and flags.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal codePointIndex As System.Integer, _
       ByVal codePointCount As System.Integer, _
       ByVal x As System.Single, _
       ByVal y As System.Single, _
       ByVal width As System.Single, _
       ByVal height As System.Single, _
       ByVal rightToLeft As System.Boolean, _
       ByVal vertical As System.Boolean, _
       ByVal sideways As System.Boolean, _
       ByVal rotateSidewaysCounterclockwise As System.Boolean _
    )
    public TextRect( 
       System.int codePointIndex,
       System.int codePointCount,
       System.float x,
       System.float y,
       System.float width,
       System.float height,
       System.bool rightToLeft,
       System.bool vertical,
       System.bool sideways,
       System.bool rotateSidewaysCounterclockwise
    )

    Parameters

    codePointIndex
    Index of the first code point in the text fragment.
    codePointCount
    The number of code points in the text fragment.
    x
    The X coordinate of the rectangle.
    y
    The Y coordinate of the rectangle.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    rightToLeft
    Indicates if the text fragment should appear from right to left.
    vertical
    Indicates if the text fragment should appear upright with vertical reading direction.
    sideways
    Indicates if the text fragment should appear rotated 90 or -90 degrees.
    rotateSidewaysCounterclockwise
    Indicates if sideways should be rotated counterclockwise.
    See Also