GraphObject::GetDX

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 graph object width in axes units.

Syntax

GetDX()

Parameters

Return

the DX value

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#get the demision of the legend
print(Graph.GraphObjects('legend').GetDX(),Graph.GraphObjects('legend').GetDY())

See Also

GraphObject::SetDX