PageSize Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Specifies the width and height of the pages for the current document. The measure depends on the TextControl.PageUnit property. The default measure is 1/100th inch. The property value is an object of the type PageSize. For more information see the description of the PageSize class.
Syntax
public PageSize PageSize { get; set; }Public Property PageSize As PageSizeExamples
The following example uses TextControl.PageSize to apply the required page dimensions. The change is then applied to the active document or user interface.
textControl.PageSize = new PageSize();
textControl.Update();textControl.PageSize = New PageSize()
textControl.Update()