PDFAddPage

Use this command to adds new page to the current PDF document defining size and orientation.

The following otpions are available:

  • Predefined sizes: A4, A5, Letter. You can add additional sizes in LIB_PDF in the function PDFAddPage. The unit of measure to define additional sizes is points.
  • Orientation: portrait or landscape
PDFAddPage(string PaperSize, 
string Orientation);

Example:
PDFAddPage('A4','portrait');