VCGetCurEntAtbName


Version:

1.2

Description:

Retrieves the internal name for the attached attribute on the current entity.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetCurEntAtbName(short* iError, short iWhichAtb, char* pStr);

Delphi

function VCGetCurEntAtbName(short* iError, short iWhichAtb, char* szName);

ActiveX/COM

Function GetCurEntAtbName(ByVal iWhichAtb As Integer) As String

Parameters:

iWhichAtb - the index for the attribute.
PStr
- the name of the attribute.
Returns
- the length of the name.

Notes:

Several different attributes may be attached a symbol definition. This is reflected in the routine VCGetCurEntAtbCount, which counts the number of attributes attached to the current entity. VCGetCurEntAtbName allows an application to reference the name of each of these attached attributes. The information can then be modified or changed based on the attribute definition. To modify the attribute definition, use VCGetAtbDef* and VCSetAtbDefLabelValue.

See Also:

VCGetAtbDefLabel, VCGetAtbDefRecordCount, VCGetAtbDefValue, VCGetAtbFont, VCGetAtbInternalName, VCGetCurEntAtbRecCount, VCGetCurEntAtbRecLabel, VCGetCurEntAtbRecValue, VCSetAtbDefLabelValue