# ServerTextControl.Baseline Property

> 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.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 12.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > ServerTextControl.Baseline Property
- **336 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/baseline-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/baseline-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/baseline-property/llms-full.txt

---

### 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

```csharp
public int Baseline { get; set; }
```

```vbnet
Public Property Baseline As Integer
```

### Examples

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.

```csharp
textControl.Baseline = 10;
Console.WriteLine($"Baseline used by Server Text Control: {textControl.Baseline}");
```

```vbnet
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).

---

## Nearby

- **Previous:** [ServerTextControl.Barcodes Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/barcodes-property/llms-full.txt)
- **Next:** [ServerTextControl.ChartCreated Event](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/chartcreated-event/llms-full.txt)
