PrintOperation.setCurrentPage

Sets the current page.

If this is called before PrintOperation.run, the user will be able to select to print only the current page.

Note that this only makes sense for pre-paginated documents.

class PrintOperation
void
setCurrentPage

Parameters

currentPage int

the current page, 0-based

Meta

Since

2.10