[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.GlyphRun

Class GlyphRun

Namespace
GrapeCity.Documents.Text
Assembly
GcDocs.Imaging.dll

Represents a glyph run on a single line.

public class GlyphRun
Inheritance
object
GlyphRun
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

BaselineOffset

Gets the offset to glyph run baseline relative to the text line position, in graphic units.

public float BaselineOffset { get; }

Property Value

float

BidiLevel

Gets the resolved bidi level of the GlyphRun.

public short BidiLevel { get; }

Property Value

short

CharWidthFactor

Gets the character width scale factor (or height scale factor for vertical text).

public float CharWidthFactor { get; }

Property Value

float

CodePointCount

Gets the number of code points in the glyph run.

public int CodePointCount { get; }

Property Value

int

CodePointIndex

Gets the index of the first code point in the glyph run.

public int CodePointIndex { get; }

Property Value

int

CodePoints

Gets the array of UTF-32 characters (code points).

public int[] CodePoints { get; }

Property Value

int[]

ConditionalHyphen

Gets a value indicating if the glyph run represents the conditional hyphen.

public bool ConditionalHyphen { get; }

Property Value

bool

EmulatedUpright

Indicates if the glyphs with usually horizontal reading direction should appear upright with vertical reading direction.

public bool EmulatedUpright { get; }

Property Value

bool

FirstGlyph

Gets the first glyph of the run.

public GlyphInfo FirstGlyph { get; }

Property Value

GlyphInfo

FontUnitsToSize

Gets the factor to scale from the font design units to the specified font size.

public float FontUnitsToSize { get; }

Property Value

float

Format

Gets the format of the GlyphRun.

public TextFormat Format { get; }

Property Value

TextFormat

GlyphCount

Gets the number of the glyphs in the run.

public int GlyphCount { get; }

Property Value

int

InlineObject

Gets the associated InlineObject, if any exists.

public InlineObject InlineObject { get; }

Property Value

InlineObject

IsEllipsis

Gets a value indicating if the glyph run is ellipsis for trimmed text.

public bool IsEllipsis { get; }

Property Value

bool

IsTab

Gets a value indicating if the glyph run represents a tabulation character.

public bool IsTab { get; }

Property Value

bool

LastGlyph

Gets the last glyph of the run.

public GlyphInfo LastGlyph { get; }

Property Value

GlyphInfo

Length

Gets the length of the glyph run along the reading direction, in graphic units.

public float Length { get; }

Property Value

float

LineSection

Gets the owner LineSection object, if any exists.

public LineSection LineSection { get; }

Property Value

LineSection

Offset

Gets the offset of the glyph run start along the reading direction, in graphic units.

public float Offset { get; }

Property Value

float

OriginOffset

Gets the offset to glyph run's top origin (left for vertical text) relative to the text line position, in graphic units.

public float OriginOffset { get; }

Property Value

float

RightToLeft

Indicates if the glyph run should appear from right to left.

public bool RightToLeft { get; }

Property Value

bool

RotateSidewaysCounterclockwise

Indicates if sideways should be rotated counterclockwise.

public bool RotateSidewaysCounterclockwise { get; }

Property Value

bool

Sideways

Indicates if the glyph run should appear rotated 90 or -90 degrees.

public bool Sideways { get; }

Property Value

bool

SuperOrSubscript

Gets a value indicating whether the glyph run should be displayed as superscript or as subscript.

public bool SuperOrSubscript { get; }

Property Value

bool

TabWithAlignment

Gets a value indicating if the glyph run represents a character tabulation with additional alignment options.

public bool TabWithAlignment { get; }

Property Value

bool

TextLayout

Gets the owner TextLayout object.

public TextLayout TextLayout { get; }

Property Value

TextLayout

TextLine

Gets the owner TextLine object.

public TextLine TextLine { get; }

Property Value

TextLine

Vertical

Indicates if the glyph run should appear upright with vertical reading direction.

public bool Vertical { get; }

Property Value

bool

VerticalBaselineOffset

Gets the offset from the Roman baseline to Ideographic centered baseline, in graphic units.

public float VerticalBaselineOffset { get; }

Property Value

float