[Qgis-developer] How to detect whether there is a scale bar on the canvas (not composer)

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Aug 18 10:48:13 PDT 2016


For plot, see title. How do I find out whether a canvas has a scale bar,
enabled by the user via View > Decorations > Scale Bar > Enable scale bar?
I've done my usual ineffective search through the API docs, and can't find
it.



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-detect-whether-there-is-a-scale-bar-on-the-canvas-not-composer-tp5281233.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list