8.1.11.5 GraphObject::GetHeight

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

Syntax

GetHeight()

Parameters

Return

The height of the object in pixel

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#get the demision of the legend
print('The height of the legend is: ')
print(Graph.GraphObjects('legend').GetHeight())

See Also

GraphObject::SetHeight