VCGetBackgroundColor
VCSetBackgroundColor


Version:

1.2

Description:

Specifies the drawing environment background color. Choosing a background color changes only the way the drawing appears on screen. Because Visual CADD™ does not print or plot the background, the output is unaffected.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetBackgroundColor(short* iError);
extern "C" void WINAPI VCSetBackgroundColor(short* iError, short i);

Delphi

function VCGetBackgroundColor(var iError: Smallint):Smallint; stdcall;
procedure VCSetBackgroundColor(var iError: Smallint; i: Smallint); stdcall;

ActiveX/COM

Function GetBackgroundColor() As Integer
Sub SetBackgroundColor(ByVal i As Integer)

Parameters:

i- color setting for background between 0 and 15

Notes:

 

See Also:

VCGetColorIndex, VCGetCursorColor, VCGetSelectionColor