“ShowGrid 指令”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
(建立内容为“<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}} ;ShowGrid( ) :Shows the grid in the active View. ;ShowGrid( <Boolean> ) :Shows/hides the…”的新页面)
 
 
第1行: 第1行:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}}
 
;ShowGrid( )
 
;ShowGrid( )
:Shows the grid in the active View.
+
: 在作用中的視區顯示格線。
;ShowGrid( <Boolean> )
+
;ShowGrid( < 真假值> )
:Shows/hides the grid in the active View.
+
: 在作用中的視區顯示或隱藏格線。
 
:{{example|1=<div>
 
:{{example|1=<div>
:*<code><nowiki>ShowGrid(true)</nowiki></code> shows the grid in the active View.
+
:*<code><nowiki>ShowGrid(true)</nowiki></code> 在作用中的視區顯示格線。
:*<code><nowiki>ShowGrid(false)</nowiki></code> hides the grid in the active View.</div>}}
+
:*<code><nowiki>ShowGrid(false)</nowiki></code> 在作用中的視區隱藏格線。</div>}}
;ShowGrid( <View>, <Boolean> )
+
;ShowGrid( < 視區>, < 真假值> )
:Shows/hides the grid in the [[File:Menu view graphics.svg|link=|16px]] ''Graphics View'' specified by the number 1 or 2 (or 3 for [[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] ''3D View'').
+
: 在指定的 <視區> 顯示或隱藏格線。其中 1 和 2 分別代表主、副 [[File:Menu view graphics.svg|link=|16px]] '''繪圖區''' ,3 代表 [[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] '''3D 繪圖區'''
 
:{{example|1=<div>
 
:{{example|1=<div>
:*<code><nowiki>ShowGrid(1, true)</nowiki></code> shows the grid in [[File:Menu view graphics.svg|link=|16px]] ''Graphics View''.
+
:*<code><nowiki>ShowGrid(1, true)</nowiki></code> 在主 [[File:Menu view graphics.svg|link=|16px]] ''' 繪圖區'''顯示格線。
:*<code><nowiki>ShowGrid(2, false)</nowiki></code> hides the grid in [[File:Menu view graphics2.svg|link=|16px]] ''Graphics 2 View''.</div>}}
+
:*<code><nowiki>ShowGrid(2, false)</nowiki></code> 在副 [[File:Menu view graphics2.svg|link=|16px]] '''繪圖區''' 隱藏格線。</div>}}
{{Note|1= See also [[ShowAxes Command|ShowAxes command]].}}
+
{{Note|1= 請參閱 [[ShowAxes_指令|ShowAxes]] 指令。}}

2024年1月4日 (四) 02:28的最新版本

Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


ShowGrid( )
在作用中的視區顯示格線。
ShowGrid( <真假值> )
在作用中的視區顯示或隱藏格線。
範例:
  • ShowGrid(true) 在作用中的視區顯示格線。
  • ShowGrid(false) 在作用中的視區隱藏格線。
ShowGrid( <視區>, <真假值> )
在指定的 <視區> 顯示或隱藏格線。其中 1 和 2 分別代表主、副 Menu view graphics.svg 繪圖區,3 代表 Perspectives algebra 3Dgraphics.svg 3D 繪圖區
範例:
  • ShowGrid(1, true) 在主 Menu view graphics.svg 繪圖區顯示格線。
  • ShowGrid(2, false) 在副 Menu view graphics2.svg 繪圖區隱藏格線。
備註: 請參閱 ShowAxes 指令。
© 2024 International GeoGebra Institute