8.1.22.1 Page::AddLayer

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

Add layer in page

Syntax

 AddLayer(Name = "")

Parameters

Name
Layer name

Return

Layer

Examples

EX1

import PyOrigin
layer=PyOrigin.Pages('Book1').AddLayer('Sheet2')