Paramters stored in a column
VB: Property Get/Let Parameter([ Index As ByVal Object ] ) As String
C++: LPCSTR Parameter(_variant_t Index )
C#: string Parameter(var Index )
Sub GetParameter() Dim app As Origin.IOApplication Dim wks As Origin.Worksheet app = New Origin.ApplicationSI wks = app.FindWorksheet("") If wks Is Nothing Then MsgBox("Can not get active worksheet") Exit Sub End If Dim strParam As String wks.Columns(0).Parameter(0) = "Originlab" 'set a parameter to a column and get it later strParam = wks.Columns(0).Parameter(0) MsgBox(strParam) End Sub
8.0SR2