Creates a new PrintMargin object with the specified margins.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim header As Integer
Dim footer As Integer
Dim instance As New PrintMargin(left, top, right, bottom, header, footer)
public PrintMargin(
int ,
int ,
int ,
int ,
int ,
int
)
Parameters
- left
- Size of the left margin in 100th-of-an-inch units
- top
- Size of the top margin in 100th-of-an-inch units
- right
- Size of the right margin in 100th-of-an-inch units
- bottom
- Size of the bottom margin in pixels
- header
- Size of the header margin in 100th-of-an-inch units
- footer
- Size of the footer margin in 100th-of-an-inch units
See Also