DocumentTools
GetProperty
query property of an embedded component
Calling Sequence
Parameters
Description
Examples
GetProperty(id, prop)
id
-
{name, string} ; name of embedded component
prop
{name, string} ; property of the component that is to be queried
The GetProperty function queries the desired component for the value of a property.
For a list of embedded components, see Overview of Embedded Components.
Suppose that your document has a slider component with name Slider1. To retrieve the current position of this slider, you can do this:
withDocumentTools:
GetPropertySlider1,value
42
See Also
DocumentTools[SetProperty]
Overview of Embedded Components
Download Help Document