Export (0) Print
Expand All

GlyphTypeface.RightSideBearings Property

Gets the distance from the right edge of the black box to the right 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> RightSideBearings { 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 index. The value is a Double that represents the distance.

The RightSideBearings value is positive when the trailing edge of the black box is within the alignment rectangle defined by the advance width and font cell height.

The RightSideBearings value is negative when the right edge of the black box overhangs the alignment rectangle.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft