iText 8.0.2 API
iText.Kernel.Pdf.IPdfPageFactory Interface Reference

Interface used to create instances of PdfPage. More...

Inherited by iText.Kernel.Pdf.PdfPageFactory, and iText.Pdfa.PdfAPageFactory.

Public Member Functions

PdfPage  CreatePdfPage (PdfDictionary pdfObject)
  Create PdfPage on the base of the page PdfDictionary. More...
 
PdfPage  CreatePdfPage (PdfDocument pdfDocument, PageSize pageSize)
  Create PdfPage with given page size and add it to the PdfDocument. More...
 

Detailed Description

Interface used to create instances of PdfPage.

Member Function Documentation

◆ CreatePdfPage() [1/2]

PdfPage iText.Kernel.Pdf.IPdfPageFactory.CreatePdfPage ( PdfDictionary  pdfObject )

Create PdfPage on the base of the page PdfDictionary.

Parameters
pdfObject the PdfDictionary object on which the PdfPage will be based
Returns
created PdfPage

◆ CreatePdfPage() [2/2]

PdfPage iText.Kernel.Pdf.IPdfPageFactory.CreatePdfPage ( PdfDocument  pdfDocument,
PageSize  pageSize 
)

Create PdfPage with given page size and add it to the PdfDocument.

Parameters
pdfDocument

PdfDocument to add page

Parameters
pageSize

iText.Kernel.Geom.PageSize of the created page

Returns
created PdfPage