Sets the value of a given property. Throws an error if the key provided is not supported by the object. Look at the constructor's parameters to see which properties can be set.
Returns this ui.data.ActiveDictionary.
Usage | Returns | DrawingTools.set(keyOrDict, value) | ui.data.ActiveDictionary |
Argument | Type | Details | this: ui.data.activedictionary | ui.data.ActiveDictionary | The ui.data.ActiveDictionary instance. |
keyOrDict | Object|String | Either the key of the property to set or a dictionary of key/value pairs to set on the object. |
value | Object, optional | The property's new value. This is required when the first argument is a key string. |