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