VCGetCurrentEntityKind


Version:

1.2

Description:

Retrieves the entity type from the current entity.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetCurrentEntityKind(short* iError);

Delphi

function VCGetCurrentEntityKind(var iError: Smallint):Smallint; stdcall;

ActiveX/COM

Function GetCurrentEntityKind() As Integer

Parameters:

Returns - integer value representing the type of entity as follows. See the API Reference section in the API help or the Scripting section in the main help for a list of Entity Types.

Notes:

The current entity is set with VCSetCurrentEntity, VCFirstEntity, VCNextEntity, or VCLastEntity

See Also:

VCFirstEntity, VCGetCurrentEntityColor, VCGetCurrentEntityUID, VCGetCurrentEntityHandle, VCGetCurrentEntityLayer, VCGetCurrentEntityLayerName, VCGetCurrentEntityLineType, VCGetCurrentEntityLineWidth, VCGetCurrentEntityLineWidthValue, VCLastEntity, VCNextEntity, VCSetCurrentEntity