AddPage Method

Adds a new page at the end of the document. 


Object.AddPage(tcPageSize [, [, tnOrientation [, tnPaperSize]]])

Object.AddPage(tnPageWidth, tnPageHeight [, tnOrientation [, tnPaperSize]])

Parameters 

tcPageSize
  The page size of the new page. Available values: “A4”, “letter”

tnPageWidth, tnPageHeight
  The width and height of the new page. The unit can be defined by SetUnit() method. The default unit it point (1/72 in).

tnOrientation
   Page orientation

tnPaperSize
   Paper size for printer. (XFRX 19.0)

Remarks

Applies To: XFRX#DRAW, XFRX#XML

If no page size is specified, the current page size is used.