GetRuntimeDescription
Get the description string of the datarange.
BOOL GetRuntimeDescription( string & strDescription, int nIndex = 0 )
True for success; otherwise false.
//Get the description string of the data range. void DataRange_GetRuntimeDescription_Ex1() { //Assume that active a worksheet and have at least two columns. Worksheet wks = Project.ActiveLayer(); if ( !wks ) { printf("Can not find any active worksheet!"); return; } DataRange dr; dr.Create();//init the object dr.Add("X", wks, 0, 0, -1, 0); dr.Add("Y", wks, 0, 1, -1, 1); string strDesc; dr.GetRuntimeDescription(strDesc); out_str(strDesc); return; }
origin.h