Get top of the object in physical coordinates.
GetTop()
Top of the object in physical coordinates
EX1
import PyOrigin #active a graphs with legend Graph=PyOrigin.ActiveLayer() #The Top margin of the legend print(Graph.GraphObjects('Legend').GetTop())
GraphObject::SetTop