add
Adds a new page at the end of the document with the default A4 page size.
Return
The newly created .
Throws
Thrown when the operation fails.
Adds a new page at the end of the document with the specified dimensions.
Return
The newly created .
Parameters
width
Width of the new page in points.
height
Height of the new page in points.
Throws
Thrown when the operation fails.
Adds a new page at the end of the document with a predefined page size.
Return
The newly created .
Parameters
page Size
The predefined page size.
Throws
Thrown when the operation fails.