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 number

    total

    Int - Total amount of pages

    Return Value

    Formatted pagination string