PrintDocument for WinForms
GetCharRangeRects メソッド (RenderTextFragmentBase)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderTextFragmentBase クラス : GetCharRangeRects メソッド
The index of the first character in the range in the current fragment.
The number of characters in the range. (If a number greater than the number of characters in the fragment is specified, no error is generated and all characters are included in the range.)
Gets an array of bounding rectangles for a range of characters (in the returned array, each line in the specified range is represented by a separate RectangleD structure).
シンタックス
'宣言
 
Public Function GetCharRangeRects( _
   ByVal startCharIndex As System.Integer, _
   ByVal length As System.Integer _
) As RectangleD()
'使用法
 
Dim instance As RenderTextFragmentBase
Dim startCharIndex As System.Integer
Dim length As System.Integer
Dim value() As RectangleD
 
value = instance.GetCharRangeRects(startCharIndex, length)
public RectangleD[] GetCharRangeRects( 
   System.int startCharIndex,
   System.int length
)

パラメータ

startCharIndex
The index of the first character in the range in the current fragment.
length
The number of characters in the range. (If a number greater than the number of characters in the fragment is specified, no error is generated and all characters are included in the range.)

戻り値の型

An array of RectangleD structures, each structure corresponding to a line of text.
参照

RenderTextFragmentBase クラス
RenderTextFragmentBase メンバ