Get the text for graph object.
GetText()
text for graph object
EX1
import PyOrigin #active a graphs with legend Graph=PyOrigin.ActiveLayer() #Set the left margin of the object print('the text in object is: %s' % Graph.GraphObjects('Legend').GetText())
GraphObject::SetText