RichTextBlock.BaselineOffset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.