Bitmap for UWP
GetTextAtPosition メソッド (TextAnalysisSource)

C1.UWP.DX アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextAnalysisSource インターフェース : GetTextAtPosition メソッド
The first position of the piece to obtain. All positions are in UTF16 code units, not whole characters, which matters when supplementary characters are used.
Gets a block of text starting at the specified text position.
シンタックス
'宣言
 
Function GetTextAtPosition( _
   ByVal textPosition As System.Integer _
) As System.String
System.string GetTextAtPosition( 
   System.int textPosition
)

パラメータ

textPosition
The first position of the piece to obtain. All positions are in UTF16 code units, not whole characters, which matters when supplementary characters are used.

戻り値の型

a block of text
解説
Returning NULL indicates the end of text, which is the position after the last character. This function is called iteratively for each consecutive block, tying together several fragmented blocks in the backing store into a virtual contiguous string. Although applications can implement sparse textual content that maps only part of the backing store, the application must map any text that is in the range passed to any analysis functions.
参照

TextAnalysisSource インターフェース
TextAnalysisSource メンバ