IDWriteTextAnalysisSource Interface

Implemented by the text analyzer's client to provide text to the analyzer. It allows the separation between the logical view of text as a continuous stream of characters identifiable by unique text positions, and the actual memory layout of potentially discrete blocks of text in the client's backing store.

Mitglieder

IDWriteTextAnalysisSourceSchnittstelle erbt von der IUnknown-Schnittstelle. IDWriteTextAnalysisSource umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IDWriteTextAnalysisSourceSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
GetLocaleName

Gets the locale name on the range affected by the text analysis.

GetNumberSubstitution

Gets the number substitution from the text range affected by the text analysis.

GetParagraphReadingDirection

Gets the paragraph reading direction.

GetTextAtPosition

Gets a block of text starting at the specified text position.

GetTextBeforePosition

Gets a block of text immediately preceding the specified position.

 

Hinweise

If any of these callbacks returns an error, then the analysis functions will stop prematurely and return a callback error. Note that rather than return E_NOTIMPL, an application should stub the method and return a constant/null and S_OK.

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