|  | 
| PdfPageCollectionAdd Method (PdfCustomPageSize, PdfMargins) | 
 
            Creates a new pdf page with the specified size and margins and adds it to the pdf document pages collection. 
            
 
    Namespace: 
   SelectPdf
    Assembly:
   Select.Pdf (in Select.Pdf.dll) Version: 24.1
 Syntax
Syntaxpublic PdfPage Add(
	PdfCustomPageSize pageSize,
	PdfMargins pageMargins
)
Public Function Add ( 
	pageSize As PdfCustomPageSize,
	pageMargins As PdfMargins
) As PdfPage
Parameters
- pageSize
- Type: SelectPdfPdfCustomPageSize
 The pdf page size.
- pageMargins
- Type: SelectPdfPdfMargins
 The pdf page margins.
Return Value
Type: 
PdfPageThe newly created pdf page.
 Remarks
Remarks
            If there is a previous page in the pages collection, the orientation is inherited from that page, otherwise a first page with
            the default 
Portrait orientation is created.
 See Also
See Also