VCGetColorIndex
VCSetColorIndex


Version:

1.2

Description:

The color for primary entity placements. Text, dimensions, hatches and fills each have their own property settings and are not affected by this subroutine.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetColorIndex(short* iError);
extern "C" void WINAPI VCSetColorIndex(short* iError, short i);

Delphi

function VCGetColorIndex(var iError: Smallint):Smallint; stdcall;
procedure VCSetColorIndex(var iError: Smallint; i: Smallint); stdcall;

ActiveX/COM

Function GetColorIndex() As Integer
Sub SetColorIndex(ByVal i As Integer)

Parameters:

i - color index from 0 to 255

Notes:

 

See Also:

VCGetLineTypeIndex, VCGetLineWidthIndex, VCGetLayerIndex, VCGetTextColor, VCGetDimItemColor,VCGetFillColor, VCGetHatchColor, VCGetDimItemColor