int getLabel()
{
Worksheet wks = Project.ActiveLayer();
if( !wks )
return -1;
Column colA(wks, 0);
if( !colA )
return -2;
string strShortName, strLongName, strUnits, strComments;
colA.GetName(strShortName);
strLongName = colA.GetLongName();
strUnits = colA.GetUnits();
strComments = colA.GetComments();
printf("Name: %s\nLong Name: %s\nUnits: %s\nComments: %s\n", strShortName, strLongName, strUnits, strComments);
return 0;
/*
Name: A
Long Name: Current
Units: [mA]
Comments: some comments
*/
}
Column::GetExtendedLabel or Grid::GetUserDefinedLabelNames for more information.
妾+ 午旦 妹罕妾 妾伊 用仇 妾/ 岫ㄞ
妾京用 仍巨 件 侈 件戶' 甘岫平 /欠 白岫妹
併 艮 岫 奈 白 岫
岫