Reads a property off a drawing object by name, the dynamic form of indexing it directly. Useful when the property name is in a variable.

Parameters

Drawing
required
A live drawing object.
string
required
The property name.

Returns

any
The property value.

Example

Errors