DocumentTools - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Document Tools : DocumentTools/GetProperty

DocumentTools

 GetProperty
 Query property of an embedded component

 Calling Sequence GetProperty(id, attr)

Parameters

 id - name ; name of embedded component attr - name ; 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)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam