PrintDocument for WinForms
GetCharRect メソッド (RenderTextFragmentBase)


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

パラメータ

charIndex
The index of the character in the current fragment.

戻り値の型

A RectangleD structure representing the bounds of the specified character relative to the content area of the object (without spacing, borders, padding). The returned value may be RectangleD.Empty if the text is rotated (use the RenderTextFragmentBase.GetCharPoints method in that case instead).
参照

RenderTextFragmentBase クラス
RenderTextFragmentBase メンバ