TX Text Control .NET for Windows Forms

ResetPageSize Method

Method
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Resets the PageSize property to its default value. The default page size is US letter (8,5 x 11 inch).

Syntax

public void ResetPageSize();

Examples

The following example restores the page size setting on the text control to its default. The created object is then available to the surrounding document workflow.

textControl.ResetPageSize();
Console.WriteLine("Text Control is ready for use.");