Creates new margin settings, using the specified settings for the top, bottom, left, and right margins, and for the header and footer offsets.
Syntax
'Declaration
Public Function New( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
)
'Usage
Dim top As System.Integer
Dim bottom As System.Integer
Dim left As System.Integer
Dim right As System.Integer
Dim header As System.Integer
Dim footer As System.Integer
Dim instance As New Margins(top, bottom, left, right, header, footer)
public Margins(
System.int ,
System.int ,
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- top
- The top margin, in hundredths of an inch.
- bottom
- The bottom margin, in hundredths of an inch.
- left
- The left margin, in hundredths of an inch.
- right
- The right margin, in hundredths of an inch.
- header
- The header margin, in hundredths of an inch.
- footer
- The footer margin, in hundredths of an inch.
See Also