GetNumChildGrids
Get the number of child grids.
int GetNumChildGrids( )
returns the number of child grids.
EX1
void Grid_GetNumChildGrids_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks && wks.GetSystemParam(0) & WP_SHEET_HIERARCHY) { Grid gg; gg.Attach(wks); int nChild = gg.GetNumChildGrids(); out_int("", nChild); } }
origin.h