Class: QgsSelectionContext¶
- class qgis.core.QgsSelectionContext¶
Bases:
sip.wrapper
Encapsulates the context of a layer selection operation.
New in version 3.28:
Methods
Returns the map scale at which the selection should occur.
Sets the map
scale
at which the selection should occur.- scale(self) float ¶
Returns the map scale at which the selection should occur.
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
See also
- Return type:
float