How to call zoomfit from script

mikedoron shared this question 1 month ago
Needs Answer

I would like to do zoomfit (just as the command from the settings menu does) after clicking on a button. is there an easy to implement scripting command?

Comments (3)

photo
1

perhaps

Files: zoom.ggb
photo
1

Thank you for your reply.

I noticed that you call zoomin[1.5] but I would like the zoom to be automatic just like choosing in the settings the zoomfit option

photo
1

i do not know other solution

(non conosco altra soluzione)

photo
© 2020 International GeoGebra Institute