TextBlock.BaselineOffset TextBlock.BaselineOffset TextBlock.BaselineOffset TextBlock.BaselineOffset Property

Definition

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

public : double BaselineOffset { get; }
double BaselineOffset();
public double BaselineOffset { get; }
Public ReadOnly Property BaselineOffset As double

Property Value

double double

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.

Remarks

Note

Visual C++ component extensions (C++/CX) doesn't have a constant for NaN, it uses a value, which appears as "-1.#IND" followed by zeros.