DocumentTools/Canvas/ShareCanvas - Maple Help

DocumentTools[Canvas]

 ShareCanvas
 send a canvas to Maple Learn

 Calling Sequence ShareCanvas(canvas) ShareCanvas(canvas, options)

Parameters

 canvas - XML canvas string showlink - (optional) truefalse

Description

 • The ShareCanvas command sends the given canvas description to Maple Cloud and creates a share link.   When the share link is clicked or loaded in a browser, the canvas will be opened in Maple Learn.
 • By default a clickable hyperlink component is inserted into your Maple document when this command executed.  If the option showlink=false is provided, then the link URL will be returned as a string instead.   When using the Command-line version of Maple, the default behavior is to return the string.

Examples

 > $\mathrm{with}\left(\mathrm{DocumentTools}:-\mathrm{Canvas}\right):$
 > $\mathrm{cv}≔\mathrm{NewCanvas}\left(\left["Quadratic Formula",x=\frac{\left(-b\right)±\left(\mathrm{sqrt}\left({b}^{2}-4ac\right)\right)}{2a}\right]\right):$
 > $\mathrm{ShareCanvas}\left(\mathrm{cv}\right)$

Compatibility

 • The DocumentTools[Canvas][ShareCanvas] command was introduced in Maple 2021.