PercentText
Scan dataset to return percent in text, 100 if all text and 0 if all numbers.
int PercentText( DWORD dwCntrl = PT_SKIP_MISSING, int i1 = 0, int i2 = -1 )
return percent in text, 100 if all text and 0 if all numbers
EX1
void DatasetObject_PercentText_Ex1() { Worksheet wks = Project.ActiveLayer(); Column cc = wks.Columns(0); DatasetObject dobj(cc); int nn = dobj.PercentText(); out_int("percent in text = ", nn); }
origin.h