Adds and transfers focus to new page in PDF document |
Member of PRIM_PDF (PRIM_PDF)
Adds a page to the PDF document and transfers focus to the new page.
Adding a page
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
#pdf.start
#pdf.text Text('On first page') Left(10) Top(10)
#pdf.addPage
#pdf.text Text('On second page') Left(10) Top(10)
#pdf.save Filename('myReport.pdf')