VCAddAtbDef


Version:

1.2

Description:

Adds an attribute definition to the drawing database and sets the value for the first field.

Declaration:

 

C/C++

extern "C" void WINAPI VCAddAtbDef(short* iError, char* szName, char* Label0, char* Value0);

Delphi

procedure VCAddAtbDef(var iError: Smallint; szName: PAnsiChar; Label0: PAnsiChar; Value0: PAnsiChar); stdcall;

ActiveX/COM

Sub AddAtbDef(ByVal szName As String, ByVal Label0 As String, ByVal Value0 As String)

Parameters:

szName - name of the attribute.
Label0
- label text for the first field.
Value0
- default value assigned to the first field.

Notes:

VCAddAtbDef must be used to create an attribute definition prior to attachment to a symbol definition. Once the definition has been created, additional fields may be added using VCSetAtbDefLabelValue.

See Also:

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