Baseline Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the baseline alignment, in twips, of the Text Control. Positive values moves the baseline to superscript, negative values moves the baseline to subscript.
Syntax
public int Baseline { get; set; }Public Property Baseline As IntegerExamples
The following example uses TextControl.Baseline to configure baseline as part of the text control workflow. The change is then applied to the active document or user interface.
textControl.Baseline = 10;
textControl.Update();textControl.Baseline = 10
textControl.Update()Limitations
The property's value must be between -960 twips and 960 twips (48 pt).