Bitmap for WPF
GetLocaleName(Int32,TextRange) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextLayout クラス > GetLocaleName メソッド : GetLocaleName(Int32,TextRange) メソッド
The position of the text to inspect.
The range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the locale name.
Gets the locale name of the text at the specified position.
シンタックス
'宣言
 
Public Overloads Function GetLocaleName( _
   ByVal currentPosition As System.Integer, _
   ByRef textRange As TextRange _
) As System.String
public System.string GetLocaleName( 
   System.int currentPosition,
   out TextRange textRange
)

パラメータ

currentPosition
The position of the text to inspect.
textRange
The range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the locale name.

戻り値の型

the locale name of the text at the specified position.
参照

TextLayout クラス
TextLayout メンバ
オーバーロード一覧