Export graph page to picture holder
bool page_get_picture( GraphPageBase & pgSrc, PictureHolder & phDst, LPCSTR lpcszType = NULL, int nRes = 36, bool bSaveInPage = true )
TRUE if succeed; FALSE otherwise
EX1
//For this example to run, a graph window named "graph1" must exist in the project. bool page_get_picture_Ex() { GraphPage pg("graph1"); PictureHolder pictHolder; if (!pg.IsValid()) return false; if(page_get_picture(pg, pictHolder, "EMF", 72, false)) out_str("Get page success"); return true; }
origin.h