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 Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim top As Integer
Dim bottom As Integer
Dim left As Integer
Dim right As Integer
Dim header As Integer
Dim footer As Integer
Dim instance As New Margins(top, bottom, left, right, header, footer)
public Margins(
int ,
int ,
int ,
int ,
int ,
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