GraphObject::SetHeight

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 the graph object Height (pixel)

Syntax

SetHeight(Height)

Parameters

Height

Graph object Height (pixel)

Return

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#Set the height of the object 
Graph.GraphObjects('Legend').SetHeight(500)
print('Now the object Height is : %d' % Graph.GraphObjects('Legend').GetHeight())

See Also

GraphObject::GetHeight