ExpertPdf Html to Pdf Converter Library
AddPage Method (pageSize, pageMargins)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentDocumentAddPage(PageSize, Margins)
ExpertPdf Html to Pdf Converter Library
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
Declaration Syntax
C#Visual BasicVisual C++
public PdfPage AddPage(
	PageSize pageSize,
	Margins pageMargins
)
Public Function AddPage ( 
	pageSize As PageSize,
	pageMargins As Margins
) As PdfPage
public:
PdfPage^ AddPage(
	PageSize^ pageSize, 
	Margins^ pageMargins
)
Parameters
pageSize (PageSize)
The page size in points
pageMargins (Margins)
The page mergins in points
Return Value
PdfPage
The newly created PDF page

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)