2.20.1 Add


Description

Add a new graphpage to current project with template name and options

Syntax

VB: Function Add([ templateName As ByVal Object ], [ flag As ByVal Object ] ) As GraphPage
C++: GraphPage Add(_variant_t templateName, _variant_t flag )
C#: GraphPage Add(var templateName, var flag )

Parameters

templateName
--
flag
--

Return

Remark

Examples

VB

    Sub AddGraphPage()
        Dim app As Origin.IOApplication
        Dim gp As Origin.GraphPage

        app = New Origin.ApplicationSI
        gp = app.GraphPages.Add() 'add a new graphpage with default template and options
    End Sub

Version Information

8.0SR2

See Also