GlyphRun.GlyphOffsets Property

Definition

Important

This API is not CLS-compliant.

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

[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Converters.PointIListConverter))]
public System.Collections.Generic.IList<System.Windows.Point> GlyphOffsets { get; set; }

Property Value

A list of Point values representing the offsets of glyph.

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9