TXTextControl.Selection.Baseline Property

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

[C#]
public int Baseline { get; set; }
[Visual Basic]
Public Property Baseline() As Integer

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.

Limitations

Runtime only.

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

See Also