VCGetCurrentEntityUserDataLong
VCSetCurrentEntityUserDataLong


Version:

1.2

Description:

User data may be attached to any drawing entity or to the drawing header and used for storage of entity information, drawing information, custom settings, or indices to external tables. This data can be assigned and retrieved from entities based on the data type and the specified index.

Declaration:

 

C/C++

extern "C" long WINAPI VCGetCurrentEntityUserDataLong(short* iError, short iIndex);
extern "C" void WINAPI VCSetCurrentEntityUserDataLong(short* iError, short iIndex, long l);

Delphi

function VCGetCurrentEntityUserDataLong(var iError: Smallint; iIndex: Smallint):Long; stdcall;
procedure VCSetCurrentEntityUserDataLong(var iError: Smallint; iIndex: Smallint; l: Longint); stdcall;

ActiveX/COM

Function GetCurrentEntityUserDataLong(ByVal iIndex As Integer) As Long
Sub SetCurrentEntityUserDataLong(ByVal iIndex As Integer, ByVal l As Long)

Parameters:

iIndex - the index number within the current entity where the chunk should be stored.
d
- value attached to the entity.

Notes:

 

See Also: