PageBorder Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Creates a new instance of the PageBorder class.
Syntax
PageBorder()
Creates an empty PageBorder object. Further properties must be set.
public PageBorder();Public Sub New()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);Public Sub New(lineWidth As Integer, distance As Integer, lineColor As Color)| Parameter | Description |
|---|---|
| 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;Dim pageBorder As New PageBorder()
pageBorder.BottomLineColor = System.Drawing.Color.LightSteelBlue