This function is used to rearrange layers on a graphpage
bool graph_arrange_layers( GraphPage & gp, int nRows, int nCols )
Return true if success, else return false;
EX1
void graphpage_arrange_layers_ex1() { GraphPage gp; gp.Create("Origin"); if ( gp ) { //make sure there are 4 layers on the page while ( gp.Layers.Count() < 4 ) gp.AddLayer(); //arrange layers into 2 by 2 grid. graph_arrange_layers(gp, 2, 2); } }
This function is used to rearrange layers on a GraphPage object, and is available in Origin8.1 and later versions.
origin.h