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.
©c¡Ï ¤È¥¹ ©f¨u©c ©c¥ì ¥Î¤³ ©c/ ©¦£¯
©c¨Ê¥Î ¤´¥¨ ¥ó ¨× ¥ó¤á' ¥Ì©¦¥ /¤í ¥Õ©¦©f
¨Ö ¦á ©¦£þ ©` ¥Õ ©¦
©¦