Specify a DataPlot with index
VB: Property Get Item(Index As ByVal Object ) As DataPlot
C++: DataPlot Item(_variant_t Index )
C#: DataPlot Item(var Index )
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
8.0SR2