Bitmap for WPF
AnalyzeNumberSubstitution(TextAnalysisSource,Int32,Int32,TextAnalysisSink) メソッド

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

パラメータ

analysisSource
The source object to analyze.
textPosition
The starting position within the source object.
textLength
The length to analyze.
analysisSink
A reference to the sink callback object that receives the text analysis.
解説
Although the function can handle multiple ranges of differing number substitutions, the text ranges should not arbitrarily split the middle of numbers. Otherwise, it will treat the numbers separately and will not translate any intervening punctuation.
参照

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