GetProperty - Maple Help

DocumentTools

 GetProperty
 query property of an embedded component

 Calling Sequence GetProperty(id, prop)

Parameters

 id - {name, string} ; name of embedded component prop - {name, string} ; property of the component that is to be queried

Description

 • The GetProperty function queries the desired component for the value of a property.
 • For a list of embedded components, see Overview of Embedded Components.

Examples

Suppose that your document has a slider component with name Slider1. To retrieve the current position of this slider, you can do this:

 > $\mathrm{with}\left(\mathrm{DocumentTools}\right):$
 > $\mathrm{GetProperty}\left('\mathrm{Slider1}','\mathrm{value}'\right)$
 ${42}$ (1)