8.1.11.20 GraphObject::SetTop

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

Set top of the object in physical coordinates.

Syntax

SetTop(Top)

Parameters

Top

Top of the object in physical coordinates.

Return

None

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#Set the left margin of the object
Graph.GraphObjects('Legend').SetTop(1000)
print('Now the left margin of the object of the object is: %i' % Graph.GraphObjects('Legend').GetTop())

See Also

GraphObject::GetTop