Landscape Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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 configured value is checked before the workflow continues.
textControl.Landscape = true;
if (textControl.Landscape)
{
Console.WriteLine("Text Control: Landscape is enabled.");
}textControl.Landscape = True
If textControl.Landscape Then
Console.WriteLine("Text Control: Landscape is enabled.")
End If