Method XbpFileDev():newPage() Foundation

Indicates a page break.

:newPage() --> self

This method returns the object executing the method (self).


The :newPage() method marks the position of a new page. When the graphic output is stored in a metafile, this method has no direct effect. The page break is stored in the metafile along with other information and the new page is only created when the metafile is later output to a printer. If the metafile is displayed in a window on the screen, the page break is ignored.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.