Sets the margins.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public virtual bool SetMargins(
	float marginLeft,
	float marginRight,
	float marginTop,
	float marginBottom
)
Visual Basic
Public Overridable Function SetMargins ( _
	marginLeft As Single, _
	marginRight As Single, _
	marginTop As Single, _
	marginBottom As Single _
) As Boolean
Visual C++
public:
virtual bool SetMargins(
	float marginLeft, 
	float marginRight, 
	float marginTop, 
	float marginBottom
)

Parameters

marginLeft
Type: System..::..Single
the margin on the left
marginRight
Type: System..::..Single
the margin on the right
marginTop
Type: System..::..Single
the margin on the top
marginBottom
Type: System..::..Single
the margin on the bottom

Return Value

Implements

IDocListener..::..SetMargins(Single, Single, Single, Single)

See Also