iText 9.7.0 API
iText.Pdfua.PdfUAPageFactory Class Reference

The class implements PDF page factory which is used for creating correct PDF/UA documents. More...

Inheritance diagram for iText.Pdfua.PdfUAPageFactory:
iText.Kernel.Pdf.IPdfPageFactory

Public Member Functions

  PdfUAPageFactory (PdfUAChecker checker)
  Instantiates a new PdfUAPageFactory instance based on iText.Pdfua.Checkers.PdfUAChecker. More...
 
virtual PdfPage  CreatePdfPage (PdfDictionary pdfObject)
 
virtual PdfPage  CreatePdfPage (PdfDocument pdfDocument, PageSize pageSize)
 

Detailed Description

The class implements PDF page factory which is used for creating correct PDF/UA documents.

Constructor & Destructor Documentation

◆ PdfUAPageFactory()

iText.Pdfua.PdfUAPageFactory.PdfUAPageFactory ( PdfUAChecker  checker )
inline

Instantiates a new PdfUAPageFactory instance based on iText.Pdfua.Checkers.PdfUAChecker.

Parameters
checker the PDF/UA checker

Member Function Documentation

◆ CreatePdfPage() [1/2]

virtual PdfPage iText.Pdfua.PdfUAPageFactory.CreatePdfPage ( PdfDictionary  pdfObject )
inlinevirtual
Parameters
pdfObject the iText.Kernel.Pdf.PdfDictionary object on which the iText.Kernel.Pdf.PdfPage will be based
Returns
The iText.Kernel.Pdf.PdfPage based on the iText.Kernel.Pdf.PdfDictionary

Implements iText.Kernel.Pdf.IPdfPageFactory.

◆ CreatePdfPage() [2/2]

virtual PdfPage iText.Pdfua.PdfUAPageFactory.CreatePdfPage ( PdfDocument  pdfDocument,
PageSize  pageSize 
)
inlinevirtual
Parameters
pdfDocument

iText.Kernel.Pdf.PdfDocument to add page

Parameters
pageSize

iText.Kernel.Geom.PageSize of the created page

Returns
The iText.Kernel.Pdf.PdfPage based on the iText.Kernel.Pdf.PdfDocument and iText.Kernel.Geom.PageSize

Implements iText.Kernel.Pdf.IPdfPageFactory.