PrintOperation.hasSelection

Get hasSelection property.

  1. bool hasSelection [@property getter]
    class PrintOperation
    @property
    bool
    hasSelection
    ()
  2. bool hasSelection [@property setter]

Return Value

Type: bool

Determines whether there is a selection in your application.

This can allow your application to print the selection. This is typically used to make a "Selection" button sensitive.