TX Text Control .NET for Windows Forms

EnablePageMargins Property

Property|Introduced in 13.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Enables or disables the setting of page margins. If the property's value is true, the setting of page margins is enabled.

Syntax

public bool EnablePageMargins { get; set; }

Examples

The following example uses RulerBar.EnablePageMargins to configure enable page margins as part of the ruler bar workflow. The change is then applied to the active document or user interface.

rulerBar.EnablePageMargins = true;
rulerBar.Update();