ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General Objects > IGPDFDoc Object > IGPDFDoc Methods > CreateNewPage Method |
Creates a new page at the specified location. At the end of processing, destroy the IGPDFPage Object.
CreateNewPage (AfterPage As Long, MediaBox As IGPDFFixedRect)
Name | Description |
---|---|
AfterPage | The page number after which the new page is inserted. The first page is 0. Use IG_PDF_BEFORE_FIRST_PAGE to insert the new page at the beginning of a document. |
MediaBox | Rectangle specifying the page's media box, specified in user space coordinates. |
None