get the list of user variables that has been saved into the column, empty ones will be skipped
int get_user_parameters( DataObject & obj, vector<string> & vsNames, vector<string> & vsValues, bool bGetEmpty = false, bool bLinkingTranslation = true)
If success then return the number of user
EX1
//For this example to run, make sure the active window is a workbook window void get_user_parameters_ex1(int nCol =1) { Worksheet wks = Project.ActiveLayer(); Column cc = wks.Columns(nCol); if(cc) { vector<string> vsNames, vsValues; int nSize = get_user_parameters(cc, vsNames, vsValues); for(int ii = 0; ii < nSize; ii++) printf("%s = %s\n", vsNames[ii], vsValues[ii]); } }
set_user_parameters
origin.h