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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft