GlyphTypeface.AdvanceWidths Property

 

Gets the advance widths for the glyphs represented by the GlyphTypeface object.

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

public IDictionary<ushort, double> AdvanceWidths { get; }

Property Value

Type: System.Collections.Generic.IDictionary<UInt16, Double>

An IDictionary<TKey, TValue> object that contains key/value pairs that represents advance width information for the glyphs. The key is a UInt16 that identifies the glyph index. The value is a Double that represents the advance width.

The AdvanceHeights property is used for calculating horizontal layout.

.NET Framework
Available since 3.0
Return to top
Show: