PageBreak
class PageBreak: PDFElement
A PDF page break element
This element will close the current page and start a new one
-
Check if an
PDFElementfits on the current page or if it should breakDeclaration
Swift
func shouldPageBreak(rect: CGRect, pageRect: CGRect) -> BoolParameters
rectThe available rectangle
pageRectThe rect of the page
Return Value
Bool if the page should break (always true for this element)
View on GitHub