IDWriteTextAnalysisSource interface (dwrite.h)
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.
Inheritance
The IDWriteTextAnalysisSource interface inherits from the IUnknown interface. IDWriteTextAnalysisSource also has these types of members:
Methods
The IDWriteTextAnalysisSource interface has these methods.
IDWriteTextAnalysisSource::GetLocaleName Gets the locale name on the range affected by the text analysis. |
IDWriteTextAnalysisSource::GetNumberSubstitution Gets the number substitution from the text range affected by the text analysis. |
IDWriteTextAnalysisSource::GetParagraphReadingDirection Gets the paragraph reading direction. |
IDWriteTextAnalysisSource::GetTextAtPosition Gets a block of text starting at the specified text position. |
IDWriteTextAnalysisSource::GetTextBeforePosition Gets a block of text immediately preceding the specified position. |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dwrite.h |