TX Text Control .NET Server

PageBorder Property

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

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.");
}