Bitmap for WPF
AnalyzeBidi(TextAnalysisQuickSource,Int32,Int32,TextAnalysisSink) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextAnalyzer クラス > AnalyzeBidi メソッド : AnalyzeBidi(TextAnalysisQuickSource,Int32,Int32,TextAnalysisSink) メソッド
A reference to a source object to analyze.
The starting text position within the source object.
The text length to analyze.
A reference to the sink callback object that receives the text analysis.
Analyzes a text range for script directionality, reading attributes from the source and reporting levels to the sink callback {{SetBidiLevel}}.
シンタックス
'宣言
 
Public Overloads Sub AnalyzeBidi( _
   ByVal analysisSource As TextAnalysisQuickSource, _
   ByVal textPosition As System.Integer, _
   ByVal textLength As System.Integer, _
   ByVal analysisSink As TextAnalysisSink _
) 
public void AnalyzeBidi( 
   TextAnalysisQuickSource analysisSource,
   System.int textPosition,
   System.int textLength,
   TextAnalysisSink analysisSink
)

パラメータ

analysisSource
A reference to a source object to analyze.
textPosition
The starting text position within the source object.
textLength
The text length to analyze.
analysisSink
A reference to the sink callback object that receives the text analysis.
解説
While the function can handle multiple paragraphs, the text range should not arbitrarily split the middle of paragraphs. Otherwise, the returned levels may be wrong, because the Bidi algorithm is meant to apply to the paragraph as a whole.
参照

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