Get all rows/columns hide status.
int GetHideStatus( BOOL bRow, vector<bool> & vbHide, int nBegin = 0, int nEnd = -1, BOOL bLabel = FALSE )
the number of hidden rows
EX1
void GetHideStatus_ex1() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; int nn = wks.GetHideStatus(TRUE, NULL); out_int("Hidden rows: ", nn); } void GetHideStatus_ex2() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; vector<bool> vbHide; if(wks.GetHideStatus(TRUE, vbHide, 0, 9) <= 0)//get row 1~10 hide status return; out_str("Hidden rows:"); for(int ii = 0; ii < vbHide.GetSize(); ii++) { if( vbHide[ii] ) out_int("", ii+1);//1 offset } }
origin.h