TX Text Control .NET Server

PageBorder Constructor

Constructor|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

Creates a new instance of the PageBorder class.

Syntax

PageBorder()

Creates an empty PageBorder object. Further properties must be set.

public PageBorder();

PageBorder(int, int, Color)

Creates a PageBorder object with equal line widths, colors and distances from the edge of the page.

public PageBorder(int lineWidth, int distance, Color lineColor);
ParameterDescription
lineWidth

Specifies the width for all border lines.

distance

Specifies the distance of the border lines from the edge of the page.

lineColor

Specifies the color for all border lines.

Examples

The following example creates a Page Border instance and configures its bottom line color setting for a document workflow.

PageBorder pageBorder = new();
pageBorder.BottomLineColor = System.Drawing.Color.LightSteelBlue;