Export (0) Print
Expand All

TextBlock.BaselineOffset Property

Returns a value by which each line of text is offset from a baseline.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public ReadOnly Property BaselineOffset As Double

Property Value

Type: System.Double

The amount by which each line of text is offset from the baseline, in device independent pixels. . NaN indicates that an optimal baseline offset is automatically calculated from the current font characteristics. The default is NaN.

The baseline is the imaginary horizontal line with which the base of each character in a line of text is aligned.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft