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.
Members
The IDWriteTextAnalysisSource interface inherits from the IUnknown interface. IDWriteTextAnalysisSource also has these types of members:
Methods
The IDWriteTextAnalysisSource interface has these methods.
| Method | Description |
|---|---|
| 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. |
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
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|