setCurrentPage

open fun setCurrentPage(currentPage: Int)

Sets the current page.

If this is called before method@Gtk.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.

Parameters

currentPage

the current page, 0-based