VB: Function Add([ templateName As ByVal Object ], [ flag As ByVal Object ] ) As Note
C++: Note Add(_variant_t templateName, _variant_t flag )
C#: Note Add(var templateName, var flag )
Sub Notes_Add() Dim app As Origin.IOApplication Dim nts As Origin.Notes Dim nt As Origin.Note app = New Origin.ApplicationSI nts = app.Notes nt = nts.Add("", "") 'create a new note page with default setting nt.Name = "Origin Sample Note" 'rename it nt.Text = "Hello Origin" 'set note's text End Sub
8.0SR2