Encapsulates the layouting information for the text in edit components.
The following tables list the members exposed by the TextLayout type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the TextLayout class. |
Name | Description | |
---|---|---|
![]() |
|
|
![]() |
|
|
![]() |
Retrieves the character at the specified position. |
|
![]() |
Gets the bounding rectangle of the character with the specified index. |
|
![]() |
|
|
![]() |
Retrieves the index of the last character of the specified line. |
|
![]() |
Gets the height of the underlying font. |
|
![]() |
Returns the number of lines in the layout. |
|
![]() |
Retrieves the line containing the character with the specified index. |
|
![]() |
Gets the index of the character, corresponding to the position of the specified character from the line above or the line below the line containing the character. |
|
![]() |
Retrieves the index of the first character of the specified line. |
|
![]() |
|
|
![]() |
|
|
![]() |
Invalidates the text layout. Subsequent calls to various layout methods will cause a new layout pass. |
|
![]() |
|
|
![]() |
|