RichTextBlock.BaselineOffset Property

Definition

Gets a value that represents the offset in pixels from the top of the content to the baseline of the first paragraph. The baseline of the paragraph is the baseline of the first line in it.

public:
 property double BaselineOffset { double get(); };
double BaselineOffset();
public double BaselineOffset { get; }
var double = richTextBlock.baselineOffset;
Public ReadOnly Property BaselineOffset As Double

Property Value

Double

double

The computed baseline for the first paragraph, or 0 if the RichTextBlock is empty.

Applies to