DestroyPage

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

The DestroyPage method deletes an existing Origin page.

Syntax

DestroyPage(PageName)

Parameters

PageName

Specify the name of the page to be deleted

Return

True if success.

Examples

#Please create a workbook named NewBook, then excute the scirpt below to delete the page
import PyOrigin
PyOrigin.DestroyPage('NewBook')