2.44.4 Item


Description

Specify a WorksheetPage in the collection

Syntax

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

Parameters

Index
--

Remark

Examples

VB

    Sub WorksheetPagesItem()
        Dim app As Origin.IOApplication
        Dim pg As Origin.WorksheetPage

        app = New Origin.ApplicationSI
        pg = app.WorksheetPages.Item(0) ' get the first workbook
        MsgBox(pg.LongName)
    End Sub

Python

import OriginExt as O
app = O.Application(); app.Visible = app.MAINWND_SHOW
app.CreatePage(app.OPT_WORKSHEET)
pg = app.WorksheetPages.Item(0)
print(pg.Name)

Version Information

8.0SR2

See Also