[]
Analyzes a text range for script boundaries, reading text attributes from the source and reporting the Unicode script ID to the sink callback {{SetScript}}.
public void AnalyzeScript(TextAnalysisSource analysisSource, int textPosition, int textLength, TextAnalysisSink analysisSink)
| Type | Name | Description |
|---|---|---|
| TextAnalysisSource | analysisSource | A reference to the source object to analyze. |
| int | textPosition | The starting text position within the source object. |
| int | textLength | The text length to analyze. |
| TextAnalysisSink | analysisSink | A reference to the sink callback object that receives the text analysis. |
Analyzes a text range for script boundaries, reading text attributes from the source and reporting the Unicode script ID to the sink callback {{SetScript}}.
public void AnalyzeScript(TextAnalysisQuickSource analysisSource, int textPosition, int textLength, TextAnalysisSink analysisSink)
| Type | Name | Description |
|---|---|---|
| TextAnalysisQuickSource | analysisSource | A reference to the source object to analyze. |
| int | textPosition | The starting text position within the source object. |
| int | textLength | The text length to analyze. |
| TextAnalysisSink | analysisSink | A reference to the sink callback object that receives the text analysis. |
HRESULT IDWriteTextAnalyzer::AnalyzeScript([In] IDWriteTextAnalysisSource* analysisSource,[In] unsigned int textPosition,[In] unsigned int textLength,[In] IDWriteTextAnalysisSink* analysisSink)
public void AnalyzeScript(IntPtr analysisSource, int textPosition, int textLength, IntPtr analysisSink)
| Type | Name | Description |
|---|---|---|
| IntPtr | analysisSource | |
| int | textPosition | |
| int | textLength | |
| IntPtr | analysisSink |