2.11.4 Item


Description

Specify a DataPlot with index

Syntax

VB: Property Get Item(Index As ByVal Object ) As DataPlot
C++: DataPlot Item(_variant_t Index )
C#: DataPlot Item(var Index )

Parameters

Index
--

Remark

Examples

VB

    Sub Item()
        Dim app As Origin.IOApplication
        Dim gl As Origin.GraphLayer

        app = New Origin.ApplicationSI
        gl = app.FindGraphLayer("")
        If gl Is Nothing Then
            MsgBox("Can not find active worksheet")
            Exit Sub
        End If
        Dim dp As Origin.DataPlot
        dp = gl.DataPlots.Item(0) 'get first column
        MsgBox(dp.Name.ToString())
    End Sub

Version Information

8.0SR2

See Also