【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.30.2 Note::Note
Contents
Description
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.
Syntax
Note( LPCTSTR lpcszName )
Note( PageBase & page )
Parameters
- lpcszName
- [input]The name of an existing Note page.
- page
- [input]An existing Note (PageBase) object.
Return
Examples
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; }
Remark
Construct a Note object using an existing Origin C Note (PageBase) object.
See Also
Header to Include
origin.h