[]
IDWriteTextAnalysisSource1
[Guid("639CFAD8-0FB4-4B21-A58A-067920120009")]
[Shadow(typeof(TextAnalysisSource1Shadow))]
public interface ITextAnalysisSource1 : ITextAnalysisSource, ICallbackable, IDisposable
Used by the text analyzer to obtain the desired glyph orientation and resolved bidi level.
void GetVerticalGlyphOrientation(int textPosition, out int textLength, out VerticalGlyphOrientation glyphOrientation, out byte bidiLevel)
textPosition intThe text position.
textLength intA reference to the text length.
glyphOrientation VerticalGlyphOrientationA VerticalGlyphOrientation-typed value that specifies the desired kind of glyph orientation for the text.
bidiLevel byteA reference to the resolved bidi level.
The text analyzer calls back to this to get the desired glyph orientation and resolved bidi level, which it uses along with the script properties of the text to determine the actual orientation of each character, which it reports back to the client via the sink SetGlyphOrientation method.