TXTextControl.PageMargins Constructor

Creates a new instance of the PageMargins class.

PageMargins()

Creates a new instance of the PageMargins class with a left, top, right and bottom margin of 1 inch.

[C#]
public PageMargins();
[Visual Basic]
Public Sub New()

PageMargins(Double, Double, Double, Double)

Creates a new instance of the PageMargins class with the specified margins.

[C#]
public PageMargins(double left, double top, double right, double bottom);
[Visual Basic]
Public Sub New(ByVal left As Double, ByVal top As Double, ByVal right As Double, ByVal bottom As Double)
Parameter Description
left

Specifies the left page margin.

top

Specifies the top page margin.

right

Specifies the right page margin.

bottom

Specifies the bottom page margin.

See Also