TX Text Control .NET for Windows Forms

Landscape Property

Property|Introduced in 14.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public bool Landscape { get; set; }

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.

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