Landscape Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a value indicating whether the page orientation is landscape or portrait.
Syntax
public bool Landscape { get; set; }Public Property Landscape As BooleanExamples
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();textControl.Landscape = True
textControl.Update()