8.1.23 PageBase

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.

Name

PageBase

Remark

The PageBase class provides methods and properties common to all internal Origin pages (windows). One use of this class is to write general functions that accept a PageBase object rather than a Page object of specific type. Another use is to attach a PageBase object to an active page whose page type is unknown. These uses facilitate writing general code that can then branch to handle specific page types.

Hierarchy


Property

Name Brief Example
Folder Read-only property. Return the Project Explorer folder where the page is located Examples
Type Read-only property. Return the page type of a Page object Examples

Members

Name Brief Example
GetFolder Get the Project Explorer folder where the page is located.
GetType Get the page type of a Page object.


OriginObject Members

Name Brief Example
Destroy Destroy the Origin object Examples
DoMethod Execute object LabTalk methods Examples
GetBinaryStorage Get a binary storage as a tree
GetComments Retrieve the comments from an object that supports Comments Examples
GetIndex Get the index of an object in a Collection Examples
GetLongName Get the long name of an object Examples
GetName Get the short name of an object Examples
GetNumProp Get object property via LabTalk property name Examples
GetShow Get the show status of an object Examples
GetStorageNames Get names of storage class objects
GetStrProp Get object property via LabTalk property name Examples
GetTheme Get the theme as treenode Examples
LT_execute Execute the Labtalk script code. Examples
SetComments Sets the comments with a text string to an object that supports Comments Examples
SetIndex Set the index of an object in a Collection Examples
SetLongName Set the long name of an object Examples
SetName Set the short name of an object Examples
SetNumProp Set object property via LabTalk property name Examples
SetShow Set the show status of an object Examples
SetStrProp Set object property via LabTalk property name Examples
SetTheme Set the theme as treenode


OriginBase Members

Name Brief Example
IsValid Check whether the instance is valid Examples