GetLabel
Get the label from the DatasetObject.
BOOL GetLabel(string& strLabel, int nType, BOOL bX)
TRUE on success and FALSE on failure.
EX1
void DatasetObject_GetLabel_Ex1() { Worksheet wks = Project.ActiveLayer(); if( !wks ) return; Column col = wks.Columns(0); DatasetObject obj(col); string strLabel; if( obj && obj.GetLabel(strLabel, RCLT_LONG_NAME, false) ) out_str(strLabel); else out_str("fail to get long name."); }
DatasetObject::SetLabel
origin.h