GraphPage
Construct a GraphPage object using the name of an existing page.
Construct a GraphPage object using an existing GraphPage object.
GraphPage( LPCTSTR lpcszName )
GraphPage( PageBase & page )
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; }
Page::Create
origin.h