TX Text Control .NET for WPF

PageBorder Property

Property|Introduced in 17.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the attributes of a section's page border. The property's value is an object of the type PageBorder.

Syntax

public PageBorder PageBorder { get; set; }

Examples

The following example configures the layout of the first document section by using SectionFormat.PageBorder.

SectionFormat sectionFormat = textControl.Sections[1].Format;

sectionFormat.PageBorder = new PageBorder();
if (sectionFormat.PageBorder != null)
{
    Console.WriteLine("Section Format: Page Border is available.");
}