ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextAnalyzer Class / AnalyzeScript Method / AnalyzeScript(TextAnalysisQuickSource,Int32,Int32,TextAnalysisSink) Method
A reference to the 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.

In This Topic
    AnalyzeScript(TextAnalysisQuickSource,Int32,Int32,TextAnalysisSink) Method
    In This Topic
    Analyzes a text range for script boundaries, reading text attributes from the source and reporting the Unicode script ID to the sink callback {{SetScript}}.
    Syntax
    'Declaration
     
    Public Overloads Sub AnalyzeScript( _
       ByVal analysisSource As TextAnalysisQuickSource, _
       ByVal textPosition As Integer, _
       ByVal textLength As Integer, _
       ByVal analysisSink As TextAnalysisSink _
    ) 
    public void AnalyzeScript( 
       TextAnalysisQuickSource analysisSource,
       int textPosition,
       int textLength,
       TextAnalysisSink analysisSink
    )

    Parameters

    analysisSource
    A reference to the 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.
    See Also