BottomSideBearings Property

GlyphTypeface.BottomSideBearings Property


Gets the distance from bottom edge of the black box to the bottom end of the advance vector for the glyphs represented by the GlyphTypeface object.

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

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

Property Value

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

An IDictionary<TKey, TValue> object that contains key/value pairs that represent distance information. The key is a UInt16 that identifies the glyph. The value is a Double that represents the distance.

The BottomSideBearings value is positive when the bottom edge of the black box is within the alignment rectangle defined by the advance width and font cell height. The font cell height is a horizontal dimension in vertical layout.

The BottomSideBearings value is negative when the bottom edge of the black box overhangs the alignment rectangle.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft