Sets the zoom presets offered in the zoom dropdown (1 is 100%). Ignored with a warning unless every item is a positive number.
1
The zoom levels.
instance.UI.setZoomList([0.5, 1, 2, 4]); Copy
instance.UI.setZoomList([0.5, 1, 2, 4]);
Sets the zoom presets offered in the zoom dropdown (
1is 100%). Ignored with a warning unless every item is a positive number.