GlyphRun.AdvanceWidths Property

Definition

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Converters.DoubleIListConverter))]
public System.Collections.Generic.IList<double> AdvanceWidths { get; set; }

Property Value

A list of Double values that represent the advance widths.

Attributes

Remarks

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.

Applies to

Produkt Verzie
.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, 10