VCGetTextColor
VCSetTextColor


Version:

1.2

Description:

Specifies the current color setting for subsequent text placements. Text and dimensions have their own color and layer settings and are not affected by VCSetColorIndex.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetTextColor(short* iError);
extern "C" void WINAPI VCSetTextColor(short* iError, short i);

Delphi

function VCGetTextColor(var iError: Smallint):Smallint; stdcall;
procedure VCSetTextColor(var iError: Smallint; i: Smallint); stdcall;

ActiveX/COM

Function GetTextColor() As Integer
Sub SetTextColor(ByVal i As Integer)

Parameters:

 i - the current text color index.

Notes:

 

See Also:

VCGetTextAspect, VCGetTextBold, VCGetTextCharSpace, VCGetTextFontName, VCGetTextHeight, VCGetTextItalic, VCGetTextItalicValue, VCGetTextJustify, VCGetTextLayer, VCGetTextLineSpace, VCGetTextProSpacing, VCGetTextRot, VCGetTextString, VCGetTextUnderline, VCGetDimItemColor, VCGetColorIndex