Get the graph object width (pixel)
GetWidth()
The graph object width
EX1
import PyOrigin #active a graphs with legend Graph=PyOrigin.ActiveLayer() #get the width of the legend print('The widthof the legend is: ') print(Graph.GraphObjects('legend').GetWidth())
GraphObject::SetWidth