Note
Construct a Note object using the name of an existing Origin Note page.
Construct a Note object using an existing Origin C Note (PageBase) object.
Note( LPCTSTR lpcszName )
Note( PageBase & page )
EX1
int Note_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; }
EX2
int Note_Note_ex2() { Note note; note.Create(); // Create a new empty Notes window if( note.IsValid() ) { Note note2(note); if( note2.IsValid() ) printf("note and note2 are both attached to '%s'\n", note2.GetName()); } return 0; }
Note::Create
origin.h