GetUserDefinedLabelNames
to get the name of user defined parameter labels
BOOL GetUserDefinedLabelNames( StringArray & arr, BOOL bCol = TRUE )const
TRUE if success else FALSE.
EX1
void Grid_GetUserDefinedLabelNames_ex1(bool bCol = true) { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid gg; gg.Attach(wks); vector<string> vsLabels; if(gg.GetUserDefinedLabelNames(vsLabels, bCol)) for(int ii=0; ii<vsLabels.GetSize(); ii++) printf("%s\n", vsLabels[ii]); } }
Grid::SetUserDefinedLabelNames Grid::GetShowLabels Grid::SetShowLabels
origin.h