Table of Contents

Interface IPdfPageFactory

Namespace
iText.Kernel.Pdf
Assembly
itext.kernel.dll

Interface used to create instances of PdfPage.

public interface IPdfPageFactory

Methods

CreatePdfPage(PdfDictionary)

Create PdfPage on the base of the page PdfDictionary.

PdfPage CreatePdfPage(PdfDictionary pdfObject)

Parameters

pdfObject PdfDictionary

the PdfDictionary object on which the PdfPage will be based

Returns

PdfPage

created PdfPage

CreatePdfPage(PdfDocument, PageSize)

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

PdfPage CreatePdfPage(PdfDocument pdfDocument, PageSize pageSize)

Parameters

pdfDocument PdfDocument

PdfDocument to add page

pageSize PageSize

PageSize of the created page

Returns

PdfPage

created PdfPage