Constructs a new Document-object.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public Document( Rectangle pageSize, float marginLeft, float marginRight, float marginTop, float marginBottom ) |
Visual Basic |
---|
Public Sub New ( _ pageSize As Rectangle, _ marginLeft As Single, _ marginRight As Single, _ marginTop As Single, _ marginBottom As Single _ ) |
Visual C++ |
---|
public: Document( Rectangle^ pageSize, float marginLeft, float marginRight, float marginTop, float marginBottom ) |
Parameters
- pageSize
- Type: iTextSharp.text..::..Rectangle
the pageSize
- 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