PageBreak

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

PageBreak

Previous pageReturn to chapter overviewNext page

Adds a new blank page to the end of the document. Then VPE sets internally the CurrentPage to this page, so that all further output-calls will draw onto this new page.

method boolean VPE.PageBreak(

)

Returns:

Value

Description

True

success

False

failure

Remarks:

In case of an error, LastError is set. An error can occur, if the document is SwapFile based - i.e. you have set the property SwapFileName - and there was an error writing to the SwapFile, because for example the harddisk is full.