Difference between revisions of "ZoomOut Command"

From GeoGebra Manual
Jump to: navigation, search
m (added same final refs as in ZoomIn cmd)
(command syntax: changed [ ] into ( ))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
{{command|scripting}}
+
;ZoomOut( <Scale Factor> )
;ZoomOut[ <Scale Factor> ]
+
: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.
:Zooms the [[Graphics View]] out by given factor with respect to current zoom, center of the screen is used as center point for the zoom.
+
:{{example|1=<code><nowiki>ZoomOut(2)</nowiki></code> zooms the view out.}}
:{{example|1=<div><code><nowiki>ZoomOut[2]</nowiki></code> zooms the view out.</div>}}
+
;ZoomOut( <Scale Factor>, &lt;Center Point> )
;ZoomOut[ <Scale Factor>, &lt;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.
:Zooms the [[Graphics View]] out by given factor with respect to current zoom, second parameter specifies center point for the zoom.
+
:{{example|1=<code><nowiki>ZoomOut(2, (0, 0))</nowiki></code>}}
:{{example|1=<div><code><nowiki>ZoomOut[2, (0, 0)]</nowiki></code></div>}}
 
 
{{Notes|1=
 
{{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.
+
:*<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 View|Graphics Views]] are present, the active one is used
+
:*If multiple ''Graphics Views'' are present, the active one is used.
 
:*See also [[ZoomIn Command|ZoomIn]], [[SetActiveView Command|SetActiveView]], [[Pan Command|Pan]]  commands.}}
 
:*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.
© 2024 International GeoGebra Institute