8.1.11.9 GraphObject::GetTop

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Description

Get top of the object in physical coordinates.

Syntax

GetTop()

Parameters

Return

Top of the object in physical coordinates

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#The Top margin of the legend
print(Graph.GraphObjects('Legend').GetTop())

See Also

GraphObject::SetTop