ResetPageMargins Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Resets the PageMargins property to its default value. The default page margins are 1 inch.
Syntax
public void ResetPageMargins();Public Sub ResetPageMargins()Examples
The following example restores the page margins setting on the text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetPageMargins();
Console.WriteLine("Text Control is ready for use.");textControl.ResetPageMargins()
Console.WriteLine("Text Control is ready for use.")