8.1.11.8 GraphObject::GetText

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

Get the text for graph object.

Syntax

GetText()

Parameters

Return

text for graph object

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#Set the left margin of the object
print('the text in object is: %s' % Graph.GraphObjects('Legend').GetText())

See Also

GraphObject::SetText