Windows apps
Collapse the table of content
Expand the table of content
Information
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.Baseline Property

 

Gets the baseline value for the character.

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

public double Baseline { get; }

Property Value

Type: System.Double

A value of type Double representing the baseline.

The return value represents the vertical offset from the bottom of the black box to the baseline. A positive value indicates the baseline is above the bottom of the black box, while a negative value indicates the baseline is below the bottom of the black box.

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