Difference between revisions of "ZoomOut Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision)
(command syntax: changed [ ] into ( ))
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
{{Manual Page|version=4.0}}
+
;ZoomOut( <Scale Factor> )
{{command|scripting}}
+
:Zooms the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] out by given factor with respect to current zoom, center of the screen is used as center point for the zoom.
;ZoomOut[ <Scale Factor> ]
+
:{{example|1=<code><nowiki>ZoomOut(2)</nowiki></code> zooms the view out.}}
:{{description}}
+
;ZoomOut( <Scale Factor>, &lt;Center Point> )
;ZoomOut[ <Scale Factor>, <Center Point> ]
+
:Zooms the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] out by given factor with respect to current zoom, second parameter specifies center point for the zoom.
:{{description}}
+
:{{example|1=<code><nowiki>ZoomOut(2, (0, 0))</nowiki></code>}}
 +
{{Notes|1=
 +
:*<code>ZoomOut(t)</code> and <code>ZoomOut(t, A)</code> are equivalent to <code>ZoomIn(1/t)</code> and <code>ZoomIn(1/t, A)</code> respectively.
 +
:*If multiple ''Graphics Views'' are present, the active one is used.
 +
:*See also [[ZoomIn Command|ZoomIn]], [[SetActiveView Command|SetActiveView]], [[Pan Command|Pan]]  commands.}}

Latest revision as of 09:26, 12 October 2017


ZoomOut( <Scale Factor> )
Zooms the Menu view graphics.svg Graphics View out by given factor with respect to current zoom, center of the screen is used as center point for the zoom.
Example: ZoomOut(2) zooms the view out.
ZoomOut( <Scale Factor>, <Center Point> )
Zooms the Menu view graphics.svg Graphics View out by given factor with respect to current zoom, second parameter specifies center point for the zoom.
Example: ZoomOut(2, (0, 0))
Notes:
  • ZoomOut(t) and ZoomOut(t, A) are equivalent to ZoomIn(1/t) and ZoomIn(1/t, A) respectively.
  • If multiple Graphics Views are present, the active one is used.
  • See also ZoomIn, SetActiveView, Pan commands.
© 2021 International GeoGebra Institute