set canvas or canvas element properties
string; property name
The SetOption command allows you to set properties of the active canvas element and/or the entire canvas. The options set by this command only control script playback within the Maple Learn environment, and are invisible to operation within Maple.
The options that can be set are as follows:
Set angles to radians or degrees
0 .. 5000
Set delay between script commands in milliseconds
Toggle between Math and Text. In Text mode, content is not evaluated and no result or plot is displayed
Enable/disable showing the current expression on the plot preview
Enable/disable read-only setting on math container. If read-only is set, that also disables calculator results
Enable/disable showing the calculator result on the currently active math content
Enable/disable showing of error messages next to math cell
Enable/disable slider on currently active (math) content. Also has effect on any subsequently created math content
The increment value is not currently used, except for deciding whether the slider is discrete (integer value) or continuous (float value)
Set the maximum endpoint of the slider for the currently active math content
Set the minimum endpoint of the slider for the currently active math content
A "canvas" is an interactive section of a Maple document created by the NewCanvas command, or a shared web-based Maple Learn document. See the Script command for a more complete description.
The DocumentTools[Canvas][Script][SetOption] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document
What kind of issue would you like to report? (Optional)