VCGetAtbInternalName


Version:

1.2.1

Description:

In order to access the attribute labels and values, the internal name of the attribute must be known. VCGetAtbInternalName returns the internal name from the file name.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetAtbInternalName(short* iError, char* pFileName, char* pReturn);

Delphi

function VCGetAtbInternalName(var iError: Smallint; var pFileName: PAnsiChar; var pReturn: PAnsiChar):Smallint; stdcall;

ActiveX/COM

Function GetAtbInternalName(ByVal pFileName As String) As String

Parameters:

pFileName - the path and name for the attribute file
pReturn -
the internal name for the attribute

Notes:

Attributes are non-graphical data that can be attached to a symbol. An attribute is made up of fields represented by a label and a value. The label is a name for the attribute field and is designated when creating the attribute. The value is the value of the attribute field and can be edited after creating the attribute. Attributes, like symbols, can be saved to disk for use in other drawings.

See Also:

VCGetAtbDefLabel, VCGetAtbDefRecordCount, VCGetAtbDefValue, VCGetAtbFont, VCGetCurEntAtbCount, VCGetCurEntAtbRecCount, VCGetCurEntAtbRecLabel, VCGetCurEntAtbRecValue