8.1.12.3 GraphPage::GetWidth

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 width of the graphpage.

Syntax

GetWidth()

Parameters

Return

GraphPage width

Examples

EX1

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

See Also

GraphPage::SetWidth