IAdornmentElement.Baseline 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.
The distance (in logical pixel)s between the top of the adornment text and the baseline of the ITextViewLine.
public:
property double Baseline { double get(); };
public:
property double Baseline { double get(); };
public double Baseline { get; }
member this.Baseline : double
Public ReadOnly Property Baseline As Double
Property Value
The distance (in logical pixel)s between the top of the adornment text and the baseline of the ITextViewLine.
Remarks
This property should be equal to TextHeight unless you plan to draw into the space between the baseline of ITextViewLine and its TextBottom.
The size of the baseline affects the amount of space reserved for text on an ITextViewLine, which is used to determine the vertical size of the caret.