Returns the minimum and maximum value that can be used while zooming. |
Synopsis
float getZoomRange(float &minFactor, float &maxFactor); |
Parameters
Parameter |
Description |
&minFactor |
Minimum zoom factor |
&maxFactor |
Maximum zoom factor |
Return value
The function returns 1 if OK otherwise, -1. |
Error
Missing or wrong arguments. |
Description
This function returns the zoom range as maximum and minimum values that can be set when using the zoom functions. |
Example |
main() |
{ |
float minFactor, maxFactor; |
getZoomRange(minFactor, maxFactor); |
DebugN("Min. zoom factor: " + minFactor);// 0,5 |
DebugN("Max. zoom factor: " + maxFactor);// 4 |
} |
Relates to
Management of managers |
Availability
UI |
See also
Reference tables, Zooming/panning, panelZoomIn(), panelZoomOut(), getZoomFactor() |
V 3.11 SP1
Copyright