ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 System.Integer, _
       ByVal textLength As System.Integer, _
       ByVal analysisSink As TextAnalysisSink _
    ) 
    public void AnalyzeScript( 
       TextAnalysisQuickSource analysisSource,
       System.int textPosition,
       System.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