GetObjectText
Returns the text content of a chart object.
Syntax
Parameters
Parameter
Type
Description
name
string
The name of the object
isStatic
boolean
Optional. Whether to look in static objects (default: false)
Return Value
Returns a string
containing the object's text content.
Description
The GetObjectText
method retrieves the text content of a specified chart object. This is primarily used with text-based objects like labels, but can also be used with other objects that have text properties.
Example
Last updated