【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.38.55 Project::Project
Contents
Description
Default constructor.
Syntax
Project( )
Parameters
Return
Examples
EX1
// This example assumes several existing windows of different types // such as worksheets, graphs, matrices, layouts, etc. int Project_Project_ex1() { Project MyProj; // Create a Project object // Loop over all the pages in the project and display their names foreach(PageBase pg in MyProj.Pages) { out_str(pg.GetName()); } return 0; }
EX2
// An implicitly declared global Project object named "Project" is always // available and can be used in place of an explicity declared Project object int Project_Project_ex2() { // Loop over all the pages in the project and display their names foreach(PageBase pg in Project.Pages) { out_str(pg.GetName()); } return 0; }
Remark
Default constructor. Note that in Origin there can only be one Project open at a time, so it is not necessary to attach a Project object (see the example).The Origin C Project object is attached and valid by default.
See Also
Header to Include
origin.h