PrintDocument for WinForms
GetCharRangeRegion(Int32,Int32) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderTextFragmentBase クラス : GetCharRangeRegion(Int32,Int32) メソッド
The index of the first character in the range in the current fragment.
The number of characters in the range.
Gets a bounding System.Drawing.Region for a range of characters. The region is relative to the top left corner of the fragment's inner area.
シンタックス
'宣言
 
Public Function GetCharRangeRegion( _
   ByVal startCharIndex As System.Integer, _
   ByVal length As System.Integer _
) As System.Drawing.Region
'使用法
 
Dim instance As RenderTextFragmentBase
Dim startCharIndex As System.Integer
Dim length As System.Integer
Dim value As System.Drawing.Region
 
value = instance.GetCharRangeRegion(startCharIndex, length)
public System.Drawing.Region GetCharRangeRegion( 
   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.

戻り値の型

The bounding region for the specified range, or null if the range is invalid.
参照

RenderTextFragmentBase クラス
RenderTextFragmentBase メンバ