TXTextControl.PageBorder Constructor

Creates a new instance of the PageBorder class.


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

public PageBorder();
[Visual Basic]
Public Sub New()

PageBorder(Int32, Int32, Color)

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

public PageBorder(int lineWidth, int distance, System.Drawing.Color lineColor);
[Visual Basic]
Public Sub New(ByVal lineWidth As Integer, ByVal distance As Integer, ByVal lineColor As System.Drawing.Color)
Parameter Description

Specifies the width for all border lines.


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


Specifies the color for all border lines.

See Also