8.2.15 GetPage

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 page by name.

Syntax

GetPage(name)

Parameters

name
Page name

Return

a pointer points to the specified page

Examples

import PyOrigin
gp=PyOrigin.GetPage('Graph1')
# Set the dimension of the graph into 6*6 inth
gp.SetHeight(6)
gp.SetWidth(6)