2.44.1 Add


Description

Syntax

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 )

Parameters

templateName
--
flag
--

Return

Remark

Examples

VB

    Sub AddWorksheetPage()
        Dim app As Origin.IOApplication
        Dim page As Origin.WorksheetPage

        app = New Origin.ApplicationSI
        page = app.WorksheetPages.Add()
    End Sub

Python

import OriginExt as O
app = O.Application(); app.Visible = app.MAINWND_SHOW
wp = app.WorksheetPages.Add('Origin')

Version Information

8.0SR2

See Also