8.1.2.32 Column::SetSubFormat
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
Set the SubFormat used by a column.
Syntax
SetSubFormat(nSubFormat)
Parameters
- nSubFormat
- The subformat as an integer enumerated from 0
Return
None
Examples
import PyOrigin PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetFormat(2) PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetSubFormat(0)