PageBorder Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property PageBorder As PageBorderExamples
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.");
}Dim sectionFormat As SectionFormat = textControl.Sections(1).Format
sectionFormat.PageBorder = New PageBorder()
If sectionFormat.PageBorder IsNot Nothing Then
Console.WriteLine("Section Format: Page Border is available.")
End If