PageMargins Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the margins for the pages of 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 PageMargins. For more information see the description of the PageMargins class.
Syntax
public PageMargins PageMargins { get; set; }Public Property PageMargins As PageMarginsExamples
The following example uses TextControl.PageMargins to apply the required margins to exported pages. The change is then applied to the active document or user interface.
textControl.PageMargins = new PageMargins();
textControl.Update();textControl.PageMargins = New PageMargins()
textControl.Update()