DioDocs for PDF
GetTextRects メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > TextLayout クラス : GetTextRects メソッド
The code point index of the range start.
The number of code points in the range.
Indicates if the additional spacing before text lines should be included.
Indicates if the additional spacing after text lines should be included.
Returns the list of TextRect objects for the specified range of code points.
シンタックス
'宣言
 
Public Function GetTextRects( _
   ByVal codePointIndex As System.Integer, _
   ByVal codePointCount As System.Integer, _
   Optional ByVal withLineGap As System.Boolean, _
   Optional ByVal withLineSpacing As System.Boolean _
) As System.Collections.Generic.IReadOnlyList(Of TextRect)
public System.Collections.Generic.IReadOnlyList<TextRect> GetTextRects( 
   System.int codePointIndex,
   System.int codePointCount,
   System.bool withLineGap,
   System.bool withLineSpacing
)

パラメータ

codePointIndex
The code point index of the range start.
codePointCount
The number of code points in the range.
withLineGap
Indicates if the additional spacing before text lines should be included.
withLineSpacing
Indicates if the additional spacing after text lines should be included.

戻り値の型

A read-only list of text rectangles.
参照

TextLayout クラス
TextLayout メンバ