IDWriteTextAnalysisSink::SetScriptAnalysis Method

Reports script analysis for the specified text range.

Syntax

virtual HRESULT SetScriptAnalysis(
  UINT32 textPosition,
  UINT32 textLength,
  const DWRITE_SCRIPT_ANALYSIS *scriptAnalysis
) = 0;

Parameter

  • textPosition
    The starting position from which to report.

  • textLength
    The number of UTF16 units of the reported range.

  • scriptAnalysis
    A pointer to a structure that contains a zero-based index representation of a writing system script and a value indicating whether additional shaping of text is required.

Rückgabewert

A successful code or error code to stop analysis.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll

Siehe auch

IDWriteTextAnalysisSink