SetImage Command

From GeoGebra Manual
Revision as of 18:34, 5 January 2023 by Mathmum (talk | contribs) ({{command|scripting}} (was {{command|geometry}} before. Changed double quotes style that would give error if pasted in ggb)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



SetImage( <Object>, <Image> )
Fills the given object with an image. 
Note: The object needs to allow filling, e.g. polygons, circles, buttons…)
SetImage( <Object>, <Text> )
Fills the object with one of the GeoGebra’s predefined action images, identified by the texts listed below.
Notes: The current version of the command supports only button objects. The names of the images (Text parameter) need to be enclosed in " ".
 
Example: SetImage(button1,"pause") shows the GeoGebra’s predefined  Pause icon on button1.


GeoGebra’s predefined action images
Text Image
pause
link
play
link
stop
link
replay
link
skip_next
link
skip_previous
link
loop
loop
zoom_in
link
zoom_out
link
close
link
arrow_up
link
arrow_down
link
arrow_forward
link
arrow_back
link
fast_forward
link
fast_rewind
link
zoom_to_fit
link
center_view
link
help
link
settings
link
© 2024 International GeoGebra Institute