PdfDocumentAddPage Method
Adds a new page to the document. The page has the given size and orientation, which become the current
ones for the pages added next, or the current page size when no size is given
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public int AddPage(
PdfPageSize pageSize = null,
PdfPageOrientation pageOrientation = PdfPageOrientation.Portrait
)
- pageSize PdfPageSize (Optional)
- The size of the page, or null for the current page size
- pageOrientation PdfPageOrientation (Optional)
- The orientation of the page, used when a size is given
Int32The 1-based number of the added page