GetLabelsByType
Get labels of the specified type for all columns.
int GetLabelsByType(StringArray& arr, int nType, BOOL bCol = TRUE)
Number of column labels for the specified label type.
//Get the comment labels in the active worksheet. void Grid_GetLabelsByType_Ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid gg; gg.Attach(wks); vector<string> vs; gg.GetLabelsByType(vs, RCLT_COMMENT); for(int ii=0; ii<vs.GetSize(); ii++) out_str(vs[ii]); } }
Grid::PutLabelsByType
origin.h