Contents

pageClass

The class that is allocated and initialized when page objects are created for the document.

Declaration

var pageClass: AnyClass { get }

Discussion

If you want to supply a custom page class, subclass PDFDocument and implement this method to return your custom class. Note that your custom class must be a subclass of PDFPage; otherwise, the behavior is undefined.

The default implementation of pageClass returns [PDFPage class].

See Also

Working with Pages