Gets or sets the baseline alignment, in twips, of the selected text. Positive values moves the baseline to superscript, negative values move the baseline to subscript.

Syntax

public int Baseline { get; set; }
Public Property Baseline() As Integer

Limitations

Runtime only.

The property's value must be between -960 twips and 960 twips (48 pt).

Remarks

The property's default value is 0.

The property returns its default value when the text selection contains multiple characters with mixed baseline settings. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.