DocumentTools/Canvas/GetCanvas - Maple Help

DocumentTools[Canvas]

 GetCanvas
 fetch a canvas from Maple Learn

 Calling Sequence GetCanvas(url)

Parameters

 url - string, url of a shared Maple Learn document

Description

 • The GetCanvas command takes the url of a shared Maple Learn document, fetches the document and returns the XML string that describes its content.

Examples

 > $\mathrm{with}\left(\mathrm{DocumentTools}:-\mathrm{Canvas}\right):$
 > $\mathrm{url}≔"https://learn.maplesoft.com/beta/index.html#/?d=OULPGFDHIFNKDLJJGGMKJKNOARBJLHGRPOOKHKCQHPMFKMOTBFEHCUBUCQFNOGKSAMDOCUEFGMAJMQELFLEQEGOMETNULHFSCUGU":$
 > $\mathrm{cv}≔\mathrm{GetCanvas}\left(\mathrm{url}\right):$
 > $\mathrm{seq}\left(\mathrm{elem}\left[\mathrm{math}\right],\mathrm{elem}=\mathrm{GetMath}\left(\mathrm{cv}\right)\right)$
 > $\mathrm{ShowCanvas}\left(\mathrm{cv}\right)$

Compatibility

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