PrintOperation.setHasSelection

Sets whether there is a selection to print.

Application has to set number of pages to which the selection will draw by PrintOperation.setNPages in a callback of begin-print.

class PrintOperation
void
setHasSelection

Parameters

hasSelection bool

TRUE indicates that a selection exists

Meta

Since

2.18