2.5.16 Parameter


Description

Paramters stored in a column

Syntax

VB: Property Get/Let Parameter([ Index As ByVal Object ] ) As String
C++: LPCSTR Parameter(_variant_t Index )
C#: string Parameter(var Index )

Parameters

Index
--

Remark

Examples

VB

    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

Version Information

8.0SR2

See Also