An integer value indicate current display format of the column
VB: Property Get/Let DisplayFormat As Integer
C++: int DisplayFormat
C#: int DisplayFormat
Sub DisplayFormat() Dim app As Origin.IOApplication Dim wks As Origin.Worksheet 'you may set the column display format(in Column Properties dialog) to a different type before running this code 'e.g set data format as Date and Display yyMMdd HH:mm, the DisplayFormat will be 12 which is this format's position in the list( 0 offset ) app = New Origin.ApplicationSI wks = app.FindWorksheet("") 'get active worksheet If wks Is Nothing Then MsgBox("Can not get active worksheet") Exit Sub End If Dim fmt As Integer fmt = wks.Columns(0).DisplayFormat MsgBox(fmt) End Sub
8.0SR2