[]
IDWriteTextAnalysisSource
[Guid("688e1a58-5094-47c8-adc8-fbcea60ae92b")]
[Shadow(typeof(TextAnalysisQuickSourceShadow))]
public interface ITextAnalysisQuickSource : ICallbackable, IDisposable
Gets the locale name on the range affected by the text analysis.
int GetLocaleName(int textPosition, out int textLength, out IntPtr localeName)
textPosition
inttextLength
intlocaleName
System.IntPtrGets the number substitution from the text range affected by the text analysis.
int GetNumberSubstitution(int textPosition, out int textLength, out IntPtr numberSubstitution)
textPosition
inttextLength
intnumberSubstitution
System.IntPtrGets the paragraph reading direction.
ReadingDirection GetParagraphReadingDirection()
Gets a block of text starting at the specified text position.
int GetTextAtPosition(int textPosition, out IntPtr textString, out int textLength)
textPosition
inttextString
System.IntPtrtextLength
intGets a block of text immediately preceding the specified position.
int GetTextBeforePosition(int textPosition, out IntPtr textString, out int textLength)
textPosition
inttextString
System.IntPtrtextLength
int