EnablePageMargins Property
- Namespace
TXTextControl.ServerVisualisation
- 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
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; }Public Property EnablePageMargins As BooleanExamples
The following example uses RulerBarViewGenerator.EnablePageMargins to configure enable page margins as part of the ruler bar view generator workflow. The configured value is checked before the workflow continues.
rulerBarViewGenerator.EnablePageMargins = true;
if (rulerBarViewGenerator.EnablePageMargins)
{
Console.WriteLine("Ruler Bar View Generator: Enable Page Margins is enabled.");
}rulerBarViewGenerator.EnablePageMargins = True
If rulerBarViewGenerator.EnablePageMargins Then
Console.WriteLine("Ruler Bar View Generator: Enable Page Margins is enabled.")
End If