getScaleStyle()
Returns the configured scale style of the module for zooming.
Synopsis
int getScaleStyle([string moduleName]);
Parameters
Parameter | Description |
---|---|
moduleName | Name of the module. Optional parameter |
Return value
In the event of an error, the function returns -1 otherwise, the scale style as an integer.
Description
Returns the configured scale style of the module. The following values can be set:
Parameter | Description |
---|---|
SCALE_FIT _TO_SHORTEST (1) | Fit to shortest side |
SCALE_ZOOM (2) | Zoom |
SCALE_FIT _TO_MODULE (3) | Fit to module |
Example
main()
{
int style;
style=getScaleStyle();
DebugN("Scale style: " + style);//, for example, 2 for zoom
}
Assignment
Management of managers
Availability
UI