8.1.2.11 Column::GetFormat

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 column format.

Syntax

GetFormat()

Parameters

Return

The column format value

0: Numeric
1: Text
2: Time
3: Date
4: Month
5: Day of Week
9: Text and Numeric

Examples

import PyOrigin
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetFormat(1)
print(PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).GetFormat())

See Also

Column::SetFormat