'宣言 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).