PageBreak

class PageBreak : PDFElement

A PDF page break element

This element will close the current page and start a new one

  • Check if an PDFElement fits on the current page or if it should break

    Declaration

    Swift

    func shoudPageBreak(rect: CGRect, pageRect: CGRect) -> Bool

    Parameters

    rect

    The available rectangle

    Return Value

    Bool if the page should break (always true for this element)