ResetPageSize Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
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();Public Sub ResetPageSize()Examples
The following example restores the page size setting on the server text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetPageSize();
Console.WriteLine("Server Text Control is ready for use.");textControl.ResetPageSize()
Console.WriteLine("Server Text Control is ready for use.")