VB: Function Add([ templateName As ByVal Object ], [ flag As ByVal Object ] ) As WorksheetPage
C++: WorksheetPage Add(_variant_t templateName, _variant_t flag )
C#: WorksheetPage Add(var templateName, var flag )
Sub AddWorksheetPage() Dim app As Origin.IOApplication Dim page As Origin.WorksheetPage app = New Origin.ApplicationSI page = app.WorksheetPages.Add() End Sub
import OriginExt as O app = O.Application(); app.Visible = app.MAINWND_SHOW wp = app.WorksheetPages.Add('Origin')
8.0SR2