Difference between revisions of "SetLabelMode Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
m
 
(4 intermediate revisions by 3 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}}
+
;SetLabelMode( <Object>, <Number> )
;SetLabelMode[ <Object>, <Number> ]
+
:Changes the label mode of the given object, according to the table below.
:Changes the label mode of given object according to the table below. Integers distinct from the ones listed in table are treated as 0.
 
  
{| class="pretty"
+
:{{notes|1=<div>
 +
:* Integers distinct from the ones listed in table are treated as 0.
 +
:* The default option for the object's label is ''Name''.
 +
:* For options 3 and 9, if the object's ''Caption'' box is empty, the ''Name'' of the object is used as caption.</div>}}
 +
 
 +
 
 +
 
 +
{| class="pretty" align="center"
 
!Number
 
!Number
 
!Mode
 
!Mode
Line 19: Line 25:
 
|3
 
|3
 
|[[Labels and Captions#Captions|Caption]]
 
|[[Labels and Captions#Captions|Caption]]
 +
|-
 +
|9
 +
|[[Labels and Captions#Captions|Caption]] + Value
 
|}
 
|}

Latest revision as of 08:29, 12 October 2017


SetLabelMode( <Object>, <Number> )
Changes the label mode of the given object, according to the table below.
Notes:
  • Integers distinct from the ones listed in table are treated as 0.
  • The default option for the object's label is Name.
  • For options 3 and 9, if the object's Caption box is empty, the Name of the object is used as caption.


Number Mode
0 Name
1 Name + Value
2 Value
3 Caption
9 Caption + Value
© 2024 International GeoGebra Institute