PdfEditorInsertPage Method
Inserts a new blank page before the page with the given number. The pages from that
number on are shifted by one. The new page has the given size, or the size of the page it
is inserted before when no size is given. The content, the links and the bookmarks of the
existing pages are not changed; the bookmarks and the open action set in the editor keep
pointing to the same pages
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
public int InsertPage(
int pageNumber,
PdfPageSize pageSize = null,
PdfPageOrientation pageOrientation = PdfPageOrientation.Portrait
)
- pageNumber Int32
- The 1-based number the new page will have; a number greater than
the page count adds the page at the end
- pageSize PdfPageSize (Optional)
- The size of the new page, or null for the size of the page at that position
- pageOrientation PdfPageOrientation (Optional)
- The orientation of the new page when a size is given
Int32The 1-based number of the inserted page