2.30.11 Text
Contents
Description
String contents of a Note window.
Syntax
VB: Property Get/Let Text As String
C++: LPCSTR Text
C#: string Text
Remark
Examples
VBA
Creating a Note Window
Dim app As Origin.Application Private Sub AddNote_Click() Set app = New Origin.ApplicationSI Dim np As Origin.Note Set np = app.Notes.Add() np.Name = "My First Note" np.Text = "Some testing text" Set app = Nothing End Sub
Access to a Existing Note Window
Dim app As Origin.Application Private Sub AccessNote_Click() Set app = New Origin.ApplicationSI Dim np As Origin.Note Set np = app.Notes("My First Note") np.Text = np.Text + "more text" Set app = Nothing End Sub
Version Information
8.0SR2