If the form size or orientation is changed after :endPage() is called, the Presentation Space associated to the XbpPrinter object must be synchronized using method :configure()!
Method XbpPrinter():endPage() Foundation
Indicates that the current page has ended.
:endPage() --> lSuccess
This method returns a logical value. If the operation succeeds, :endPage() returns the value .T. (true). Otherwise, .F. (false) is returned.
The method :endPage() ends the current page within the print job. It can only be executed between the calls to :startDoc() and :endDoc().
Calling :endPage() ends the current page but unlike method :newPage(), no new page is begun. After :endPage() returns, the print job is temporarily halted between pages. This can be used by the application to change the following print attributes before the next page is begun via a call to method :startPage():
Attribute | Related method |
---|---|
Page Orientation | :setOrientation() |
Paper Bin | :setPaperBin() |
Form Size | :setFormSize() |
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.