8.1.12.6 GraphPage::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 height of the graphpage

Syntax

SetHeight(Height)

Parameters

Height

GraphPage height

Return

None

Examples

EX1

import PyOrigin
gp=PyOrigin.GraphPages('Graph1')
if gp.IsValid():
    gp.SetHeight(8)  #set height in inch
    print('the height of the graph page is %2.2f' % gp.GetHeight())

See Also

GraphPage::GetHeight