Baseline Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Gets or sets the baseline alignment, in twips, of the 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 ServerTextControl.Baseline to configure baseline as part of the server text control workflow. The configured value is checked before the workflow continues.
textControl.Baseline = 10;
Console.WriteLine($"Baseline used by Server Text Control: {textControl.Baseline}");textControl.Baseline = 10
Console.WriteLine($"Baseline used by Server Text Control: {textControl.Baseline}")Limitations
The property's value must be between -960 twips and 960 twips (48 pts).