Package com.itextpdf.kernel.pdf
Interface IPdfPageFactory
public interface IPdfPageFactory
Interface used to create instances of
PdfPage
.
-
Method Summary
Modifier and TypeMethodDescriptioncreatePdfPage
(PdfDictionary pdfObject) CreatePdfPage
on the base of the pagePdfDictionary
.createPdfPage
(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPage
with given page size and add it to thePdfDocument
.
-
Method Details
-
createPdfPage
CreatePdfPage
on the base of the pagePdfDictionary
.- Parameters:
-
pdfObject
- thePdfDictionary
object on which thePdfPage
will be based - Returns:
-
created
PdfPage
-
createPdfPage
CreatePdfPage
with given page size and add it to thePdfDocument
.- Parameters:
-
pdfDocument
-PdfDocument
to add page -
pageSize
-PageSize
of the created page - Returns:
-
created
PdfPage
-