ActivePage

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 active page in the project.

Syntax

ActivePage()

Parameters

Return

The active page in the project.

Examples

EX1

# Activate one workbook, matrix or graph.
import PyOrigin
Page=PyOrigin.ActivePage()
#add a new sheet/layer on the page
Page.AddLayer('NewLayer')