# FormCheckBox.SizeAuto Property

> Specifies whether the field is automatically resized or not.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.Fields > FormCheckBox.SizeAuto Property
- **385 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/formcheckbox/sizeauto-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/formcheckbox/sizeauto-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/formcheckbox/sizeauto-property/llms-full.txt

---

### Description

Specifies whether the field is automatically resized or not.

### Syntax

```csharp
public bool SizeAuto { get; set; }
```

```vbnet
Public Property SizeAuto As Boolean
```

### Examples

The following example uses `FormCheckBox.SizeAuto` to configure size auto as part of the form check box workflow. The configured value is checked before the workflow continues.

```csharp
formCheckBox.SizeAuto = true;
if (formCheckBox.SizeAuto)
{
    Console.WriteLine("Form Check Box: Size Auto is enabled.");
}
```

```vbnet
formCheckBox.SizeAuto = True
If formCheckBox.SizeAuto Then
    Console.WriteLine("Form Check Box: Size Auto is enabled.")
End If
```

### Limitations

This property is not used by the [DocumentServer.Web.DocumentViewer](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-web/documentviewer/llms-full.txt) component.

---

## Nearby

- **Previous:** [FormCheckBox.Size Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/formcheckbox/size-property/llms-full.txt)
- **Next:** [FormDropDown Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/formdropdown/llms-full.txt)
