# ServerTextControl.Landscape Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 14.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.Landscape Property
- **356 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/landscape-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/landscape-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/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 `ServerTextControl.Landscape` to switch the section to landscape orientation. The configured value is checked before the workflow continues.

```csharp
textControl.Landscape = true;
if (textControl.Landscape)
{
    Console.WriteLine("Server Text Control: Landscape is enabled.");
}
```

```vbnet
textControl.Landscape = True
If textControl.Landscape Then
    Console.WriteLine("Server Text Control: Landscape is enabled.")
End If
```

---

## Nearby

- **Previous:** [ServerTextControl.IsSpellCheckingEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/isspellcheckingenabled-property/llms-full.txt)
- **Next:** [ServerTextControl.Lines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/lines-property/llms-full.txt)
