8.1.12.8 GraphPage::SetWidth

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

Syntax

SetWidth(Width)

Parameters

Width

GraphPage width

Return

None

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

Datasheet::GetWidth