Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GlyphRun.GlyphOffsets Property


Gets or sets an array of Point values representing the offsets of the glyphs in the GlyphRun.

This API is not CLS-compliant.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public IList<Point> GlyphOffsets { get; set; }

Property Value

Type: System.Collections.Generic.IList<Point>

A list of Point values representing the offsets of glyph.

The glyph offset values are added to the nominal glyph origin to generate the final origin for the glyph. The AdvanceWidths property represents the values of the nominal glyph origins for the GlyphRun.

Base glyphs generally have a glyph offset of (0, 0), combining glyphs generally have an offset that places them correctly on top of the nearest preceding base glyph.

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft