8.1.13.2 Layer::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 parent Page object that contains the layer.

Syntax

 GetPage()

Parameters

Return

parent page

Examples

EX1

import PyOrigin
#active a worksheet in the project
wks=PyOrigin.ActiveLayer()
wksPage=wks.GetPage()
print(wksPage.GetName())#show the name of the parent Page