VCGetLineWidthIndex
VCSetLineWidthIndex


Version:

1.2

Description:

Specifies the current line width property for all subsequent primary entity placements.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetLineWidthIndex(short* iError);
extern "C" void WINAPI VCSetLineWidthIndex(short* iError, short i);

Delphi

function VCGetLineWidthIndex(var iError: Smallint):Smallint; stdcall;
procedure VCSetLineWidthIndex(var iError: Smallint; i: Smallint); stdcall;

ActiveX/COM

Function GetLineWidthIndex() As Integer
Sub SetLineWidthIndex(ByVal i As Integer)

Parameters:

i - the desired line width index.

Notes:

All primary drawing entities have four specific properties associated with them. These are: color, layer, line type and line width. Each of these are set by an index, not by name. Text and Dimensions each have their own properties and as such are not set or retrieved using these functions but instead have their own similar functions.

See Also:

VCGetLineTypeIndex, VCGetLayerIndex, VCGetColorIndex