2.31.4 Item


Description

Syntax

VB: Property Get Item(Index As ByVal Object ) As Note
C++: Note Item(_variant_t Index )
C#: Note Item(var Index )

Parameters

Index
--

Remark

Examples

VB

    Sub Notes_Item()
        Dim app As Origin.IOApplication
        Dim nts As Origin.Notes
        Dim nt As Origin.Note

        app = New Origin.ApplicationSI
        nts = app.Notes
        If nts.Count < 1 Then
            nts.Add() 'make sure there exist at least one note page
        End If
        nt = nts.Item(nts.Count - 1) 'get last note page
        nt.Text = nt.Text + "---- User Testing Context ----"
    End Sub

Version Information

8.0SR2

See Also