Link - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DocumentTools[Canvas]

  

Link

  

create a hyperlink in a canvas

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Link(url,expression)

Parameters

url

-

string

expression

-

anything

Description

• 

The Link command creates a hyperlink data structure to be used in conjunction with the Text command.

• 

The url is a string of the form "http://www.maplesoft.com", and is the destination target page that should be opened when the link is clicked.

• 

The expression is the text or math expression to click on.  

  

Note: When viewing a canvas containing a hyperlink in Maple with the ShowCanvas command, the text containing the link will be static; and won't be modified by any script commands.  Also, when the link expression is not a string, in Maple it will be prefixed with clickable text.  These limitations are not present when using the same canvas in Maple Learn.

• 

The Link command should be used as a % parameter's argument in a call to the Text command.  Links are always embedded into a block of text or math as MathML attributes, and are not stand-alone canvas elements.  

Examples

(1)

Compatibility

• 

The DocumentTools[Canvas][Link] command was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

See Also

Annotate

GetCanvas

GetMath

Math

NewCanvas

Script

ScriptButton

ShareCanvas

ShareCanvas

Text

 


Download Help Document