# ZoomOption Enumeration

> Specifies options how to set the zoom factor of a TextControl.

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

---

### Description

Specifies options how to set the zoom factor of a TextControl.

### Syntax

```csharp
public enum ZoomOption
```

```vbnet
Public Enum ZoomOption
```

### Members

| Member | Value | Description |
|---|---|---|
| PageWidth | 2 | The zoom factor is calculated so that the complete width of a page becomes visible. |
| TextWidth | 3 | The zoom factor is calculated so that the complete text of a line becomes visible. |
| WholePage | 1 | The zoom factor is calculated so that the current visible page becomes completely visible. |

### Examples

The following example selects the Page Width value from the Zoom Option enumeration and uses it as a documented workflow choice.

```csharp
ZoomOption value = ZoomOption.PageWidth;
Console.WriteLine($"Using Zoom Option: {value}");
```

```vbnet
Dim value As ZoomOption = ZoomOption.PageWidth
Console.WriteLine($"Using Zoom Option: {value}")
```

### See Also

[TextControl.Zoom](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/zoom-method/llms-full.txt) Method, [WPF.TextControl.Zoom](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/zoom-method/llms-full.txt) Method.

---

## Nearby

- **Previous:** [XmlErrorEventArgs.URL Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/xmlerroreventargs/url-property/llms-full.txt)
- **Next:** [ZOrder Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/zorder/enumeration/llms-full.txt)
