GlyphRun.AdvanceWidths Property


Gets or sets the list of Double values that represent the advance widths corresponding to the glyph indices.

This API is not CLS-compliant.

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

public IList<double> AdvanceWidths { get; set; }

Property Value

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

A list of Double values that represent the advance widths.

Each item in the list of advance widths corresponds to the glyph values returned by the GlyphIndices property. The nominal origin of the nth glyph in the run (n>0) is the nominal origin of the n-1th glyph plus the n-1th advance width added along the runs advance vector. Base glyphs generally have a non-zero advance width, whereas combining glyphs generally have a zero advance width.

.NET Framework
Available since 3.0
Return to top