【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.20.10 GraphPage::GraphPage
Contents
Description
Construct a GraphPage object using the name of an existing page.
Construct a GraphPage object using an existing GraphPage object.
Syntax
GraphPage( LPCTSTR lpcszName )
GraphPage( PageBase & page )
Parameters
- lpcszName
- [input]The name of an existing graph page.
- page
- [input]An existing GraphPage object.
Return
Examples
EX1
//Construct a GraphPage object using the name of an existing page int GraphPage_GraphPage_ex1() { GraphPage gp; gp.Create("origin"); if( gp.IsValid() ) { GraphPage gp2(gp.GetName()); if( gp2.IsValid() ) printf("gp and gp2 are both attached to '%s'\n", gp2.GetName()); } return 0; }
EX2
//Construct a GraphPage object using an existing GraphPage object int GraphPage_GraphPage_ex2() { GraphPage gp; gp.Create("origin"); if( gp.IsValid() ) { GraphPage gp2(gp); if( gp2.IsValid() ) printf("gp and gp2 are both attached to '%s'\n", gp2.GetName()); } return 0; }
Remark
See Also
Header to Include
origin.h