AddPage([**string** orientation [, **mixed** size [, **int** rotation]]])
Adds a new page to the document. If a page is already present, the Footer() method is called first to display the footer. Then, the page is added, the current position is set to the top-left corner according to the left and top margins, and the Header() method is called to display the header.
The font that was set before calling is automatically restored. There is no need to call SetFont() again if you want to continue with the same font. The same applies to colors and line width.
The origin of the coordinate system is at the top-left corner and increasing ordinates go downwards.
orientation
P
or Portrait
L
or Landscape
size
A3
A4
A5
Letter
Legal
The default value is the one passed to the constructor.
rotation
0
.