Reorder
Change the order of the current or specified layer.
BOOL Reorder( int nDst, int nSrc = -1, DWORD dwCtrl = 0 )
TRUE for success, FALSE for failure.
EX1
// before run this example, please make sure this graph page has at least two layers. int Page_Reorder_Ex1(string strPageName = "Graph1") { GraphPage pg(strPageName); if( pg ) { if( !pg.Reorder(0, -1) ) //move the active layer as the first printf("Fail to reorder layers"); } return 0; }
origin.h