Type Aliases
The following type aliases are available globally.
-
Closure for custom pagination formatting.
Declaration
Swift
public typealias PDFPaginationClosure = (_ page: Int, _ total: Int) -> String
Parameters
page
Int
- Current page numbertotal
Int
- Total amount of pagesReturn Value
Formatted pagination string
-
Holds a
PDFRenderObject
and thePDFContainer
it is located inDeclaration
Swift
public typealias PDFLocatedRenderObject = (PDFContainer, PDFRenderObject)