Construct range string of worksheet or matrix by the specified range from parameters
string MakeRangeString( LPCSTR lpcstrColName1, LPCSTR lpcstrColName2 = NULL, int iBeginRow = -1, int iEndRow = -1 )
The range string
EX1
int Datasheet_MakeRangeString_Ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { string strRange = wks.MakeRangeString("A"); // this range string is selected whole column A out_str(strRange); strRange = wks.MakeRangeString("A", "B", 0, 12); out_str(strRange); } return 0; }
origin.h