[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.ITextAnalysisSource1

Interface ITextAnalysisSource1

Namespace
GrapeCity.Documents.DX.DirectWrite
Assembly
GcDocs.DX.Windows.dll

IDWriteTextAnalysisSource1

[Guid("639CFAD8-0FB4-4B21-A58A-067920120009")]
[Shadow(typeof(TextAnalysisSource1Shadow))]
public interface ITextAnalysisSource1 : ITextAnalysisSource, ICallbackable, IDisposable
Inherited Members
System.IDisposable.Dispose()

Methods

GetVerticalGlyphOrientation(int, out int, out VerticalGlyphOrientation, out byte)

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)

Parameters

textPosition int

The text position.

textLength int

A reference to the text length.

glyphOrientation VerticalGlyphOrientation

A VerticalGlyphOrientation-typed value that specifies the desired kind of glyph orientation for the text.

bidiLevel byte

A reference to the resolved bidi level.

Remarks

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.