VCGetCurrentEntityColor


Version:

1.2

Description:

Retrieves the color index for the current entity.

Declaration:

 

C/C++

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

Delphi

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

ActiveX/COM

Function GetCurrentEntityColor() As Integer

Parameters:

Returns - the color index of the entity.

Notes:

The entity is set as the current entity with VCSetCurrentEntity, VCFirstEntity, or VCNextEntity and will then allow the use of the VCGetCurrentEntity functions.

See Also:

VCGetCurrentEntityHandle, VCGetCurrentEntityKind, VCGetCurrentEntityLayer, VCGetCurrentEntityLayerName, VCGetCurrentEntityLineType, VCGetCurrentEntityLineWidth, VCSetCurrentEntity, VCGetColorIndex