8.1.22 Page
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
Page
Remark
The Page class provides methods and properties common to all internal Origin pages that contain one or more layers (all Origin windows except Note windows). The Page class contains a collection of all layers in the page.
Hierarchy
Property
| Name | Brief | Example |
|---|---|---|
| Layers | Read-only property. Return the layers collection. | Examples |
Members
| Name | Brief | Example |
|---|---|---|
| AddLayer | Add layer in Page | Examples |
| GetLayers | Return the layer collection | Examples |
| Layers | Get a layer in layers collection | Examples |
PageBase 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 |