A container for content selected in the viewer. SelectedContent provides an object to pass to a handler when the user-defined ON_CONTENT_SELECTED event occurs. This object contains an instance of the element selected in the viewer.
Constructor
The SelectedContent object is constructed when an ON_CONTENT_SELECTED event occurs.
To determine the object type, use the Object.getType( ) function. The type strings for the above objects are ''Chart'', ''Data'', ''Label'', ''Table'', or ''Text'', respectively.
Returns
Object. An instance of the currently selected element.
Example
To retrieve and store a label bookmark if a selected element is a label, use the following code: