DocumentAddPage(PdfPageSize, Margins) Method
Creates a new PDF page and adds it to the collection. If there is a previous page in the
collection, the page orientation is inherited from the that page otherwise a first page with
the specified size and Portrait orientation is created
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public PdfPage AddPage(
PdfPageSize pageSize,
Margins pageMargins
)
Public Function AddPage (
pageSize As PdfPageSize,
pageMargins As Margins
) As PdfPage
public:
PdfPage^ AddPage(
PdfPageSize^ pageSize,
Margins^ pageMargins
)
member AddPage :
pageSize : PdfPageSize *
pageMargins : Margins -> PdfPage
- pageSize PdfPageSize
- The page size in points
- pageMargins Margins
- The page margins in points
PdfPageThe newly created PDF page