getZoom

From RPTools Wiki
Revision as of 08:29, 30 April 2015 by Wolph42 (talk | contribs) (Created page with "{{MacroFunction |name=getZoom |version=1.4 |description= Gets the zoom level of the viewport. This is the same number as what you find at the bottom of the maptool window. |usag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getZoom() Function

Introduced in version 1.4
Gets the zoom level of the viewport. This is the same number as what you find at the bottom of the maptool window.

Usage

getZoom()

Parameters None.

Example

Zoom in by a factor 2
[h: z = getZoom()]
[h: setZoom(2*z)]

See Also