DocumentAddPage(PdfPageSize, PdfMargins) 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

Definition

Namespace: WinnovativeClient
Assembly: WinnovativeClient (in WinnovativeClient.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public PdfPage AddPage(
	PdfPageSize pageSize,
	PdfMargins pageMargins
)

Parameters

pageSize  PdfPageSize
The page size in points
pageMargins  PdfMargins
The page margins in points

Return Value

PdfPage
The newly created PDF page

See Also