2.2.4.30 Note


Name

Note

Remark

The Note class provides methods and properties common to all internal Origin Note pages (windows). The Project class contains a collection of Note objects.

An Origin C Note object is a wrapper object that is a reference to an internal Origin Note page. Origin C wrapper objects do not actually exist in Origin and merely refer to the internal Origin object. Consequently, multiple Origin C wrapper objects can refer to the same internal Origin object.

The Note class is derived from the PageBase and OriginObject classes from which it inherits methods and properties.

Hierarchy

Examples

EX1

int Note_ex1()
{
    Note note; 
    note.Create();            // Create a new empty Notes window
    if( note.IsValid() )
    {
        Note note2(note.GetName());
        if( note2.IsValid() )
            printf("note and note2 are both attached to '%s'\n", note2.GetName());
    }
    return 0;
}

Header to Include

origin.h

Reference

Members

Name Brief Example
Create Create a new Notes window. Examples
Note Construct a Note object using the name of an existing Origin Note page. Examples

Property

Name Brief Example
Text String data member containing the text of the Notes window. Examples