TextBlock.BaselineOffset property

This topic has not yet been rated - Rate this topic

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

Syntax


public double BaselineOffset { get; }

Property value

Type: System.Double [.NET] | float64 [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

TextBlock

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.