Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CharacterMetrics.TopSideBearing Property


Gets the recommended white space above the black box.

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

public double TopSideBearing { get; }

Property Value

Type: System.Double

A value of type Double.

Recommended white space above the black box. The vertical advance for the character is the sum of the property values TopSideBearing, BlackBoxHeight, and BottomSideBearing. The vertical advance cannot be less than zero.

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