PrintDocument for WinForms
GetCharPoints メソッド (RenderTextFragmentBase)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderTextFragmentBase クラス : GetCharPoints メソッド
The index of the character in the current fragment.
Gets an array of four points defining the (possibly rotated) geometric area of the character with the specified index.
シンタックス
'宣言
 
Public Function GetCharPoints( _
   ByVal charIndex As System.Integer _
) As PointD()
'使用法
 
Dim instance As RenderTextFragmentBase
Dim charIndex As System.Integer
Dim value() As PointD
 
value = instance.GetCharPoints(charIndex)
public PointD[] GetCharPoints( 
   System.int charIndex
)

パラメータ

charIndex
The index of the character in the current fragment.

戻り値の型

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).
解説
Unlike the RenderTextFragmentBase.GetCharRect method, this method works for rotated text as well.
参照

RenderTextFragmentBase クラス
RenderTextFragmentBase メンバ
GetCharRect メソッド