C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderTextFragment Class / GetCharPoints Method
The index of the character in the current fragment.

In This Topic
GetCharPoints Method (RenderTextFragment)
In This Topic
Gets an array of four points defining the (possibly rotated) geometric area of the character with the specified index.
Syntax
'Declaration
 
Public Function GetCharPoints( _
   ByVal charIndex As Integer _
) As PointD()
 

Parameters

charIndex
The index of the character in the current fragment.

Return Value

An array of four RectangleD structures representing the corners of the specified character's area, relative to the content area of the object (without spacing, borders, padding).
Remarks
Unlike the RenderTextFragmentBase.GetCharRect method, this method works for rotated text as well.
See Also