GetPage
GraphPage GetPage( )
Returns the Graphic page
EX1
#include <Origin.h> #include <..\OriginLab\DialogEx.h> #define IDC_TWOGRAPHS_GRAPH1 1001 static BOOL OnInitDialog(Dialog & GraphDlg) { GraphControl og1 = GraphDlg.GetItem(IDC_TWOGRAPHS_GRAPH1); // must create Origin graph og1.Create(NOCLICK_AXES | NOCLICK_TICKLABEL | NOCLICK_LAYERICON); GraphPage gp; gp = og1.GetPage(); return TRUE; }
Control.h