8.1.3.1 DataObject::DataFormat

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/Set DataFormat property of one DataObject

Name

DataFormat

Examples

wks=PyOrigin.ActiveLayer()
wks.SetColFormats("19") # 1 = Text and 2 = Text and Numeric
col=wks.Columns(1)
col.DataFormat=0
print(col.DataFormat)

See Also

GetDataFormat SetDataFormat