Package com.itextpdf.kernel.pdf
Class PdfPageFactory
- java.lang.Object
-
- com.itextpdf.kernel.pdf.PdfPageFactory
-
- All Implemented Interfaces:
IPdfPageFactory
class PdfPageFactory extends java.lang.Object implements IPdfPageFactory
-
-
Constructor Summary
Constructors Constructor Description PdfPageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfPagecreatePdfPage(PdfDictionary pdfObject)CreatePdfPageon the base of the pagePdfDictionary.PdfPagecreatePdfPage(PdfDocument pdfDocument, PageSize pageSize)CreatePdfPagewith given page size and add it to thePdfDocument.
-
-
-
Method Detail
-
createPdfPage
public PdfPage createPdfPage(PdfDictionary pdfObject)
Description copied from interface:IPdfPageFactoryCreatePdfPageon the base of the pagePdfDictionary.- Specified by:
createPdfPagein interfaceIPdfPageFactory- Parameters:
pdfObject- thePdfDictionaryobject on which thePdfPagewill be based- Returns:
- created
PdfPage
-
createPdfPage
public PdfPage createPdfPage(PdfDocument pdfDocument, PageSize pageSize)
Description copied from interface:IPdfPageFactoryCreatePdfPagewith given page size and add it to thePdfDocument.- Specified by:
createPdfPagein interfaceIPdfPageFactory- Parameters:
pdfDocument-PdfDocumentto add pagepageSize-PageSizeof the created page- Returns:
- created
PdfPage
-
-