# TextControl.Landscape Property

> Gets or sets a value indicating whether the page orientation is landscape or portrait.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 14.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.Landscape Property
- **262 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/landscape-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/landscape-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/landscape-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether the page orientation is landscape or portrait.

### Syntax

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

```vbnet
Public Property Landscape As Boolean
```

### Examples

The following example uses `TextControl.Landscape` to switch the section to landscape orientation. The change is then applied to the active document or user interface.

```csharp
textControl.Landscape = true;
textControl.Update();
```

```vbnet
textControl.Landscape = True
textControl.Update()
```

---

## Nearby

- **Previous:** [TextControl.IsTrackChangesEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/istrackchangesenabled-property/llms-full.txt)
- **Next:** [TextControl.LanguageDialog Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/languagedialog-method/llms-full.txt)
