8.1.11 GraphObject

It is recommended that you switch to the package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Name

GraphObject

Remark

The GraphObject class provides methods and properties common to all Origin graph objects.

Origin graph objects include such things as text annotations, graphic annotations (e.g. rectangles, arrows, line objects, etc.), data plot style holders, and region of interest objects.

Hierarchy

Property

Name Brief Example
Get/Set the graph object width in axes units.
Get/Set the graph object height in axes units.
Get/Set the graph object Height (pixel)
Get/Set left of the object in physical coordinates.
Get/Set the text for graph object.
Get/Set top of the object in physical coordinates.
Get/Set the graph object Width (pixel)
Get/Set the axis X coordinate of the center of the object.
Get/Set the axis Y coordinate of the center of the object.

Members

Name Brief Example
Get the graph object width in axes units.
Get the graph object height in axes units.
Get the graph object Height (pixel)
Left of the object in physical coordinates.
Get the graph object type
Get the text for graph object.
Top of the object in physical coordinates.
Get the graph object width (pixel)
Get axis X coordinate of the center of the object.
Get axis Y coordinate of the center of the object.
Set the graph object width in axes units.
Set the graph object height in axes units.
Set the graph object Height (pixel)
Set left of the object in physical coordinates.
Set the text for graph object.
Set top of the object in physical coordinates.
Set the graph object Width (pixel)
Set axis X coordinate of the center of the object.
Set axis Y coordinate of the center of the object.


OriginObject Members

Name Brief Example
Destroy the Origin object
Execute object LabTalk methods
Get a binary storage as a tree
Retrieve the comments from an object that supports Comments
Get the index of an object in a Collection
Get the long name of an object
Get the short name of an object
Get object property via LabTalk property name
Get the show status of an object
Get names of storage class objects
Get object property via LabTalk property name
Get the theme as treenode
Execute the Labtalk script code.
Sets the comments with a text string to an object that supports Comments
Set the index of an object in a Collection
Set the long name of an object
Set the short name of an object
Set object property via LabTalk property name
Set the show status of an object
Set object property via LabTalk property name
Set the theme as treenode


OriginBase Members

Name Brief Example
Check whether the instance is valid