VCGetLineTypeIndex
VCSetLineTypeIndex


Version:

1.2

Description:

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

Declaration:

 

C/C++

extern "C" short WINAPI VCGetLineTypeIndex(short* iError);
extern "C" void WINAPI VCSetLineTypeIndex(short* iError, short i);

Delphi

function VCGetLineTypeIndex(var iError: Smallint):Smallint; stdcall;
procedure VCSetLineTypeIndex(var iError: Smallint; i: Smallint); stdcall;

ActiveX/COM

Function GetLineTypeIndex() As Integer
Sub SetLineTypeIndex(ByVal i As Integer)

Parameters:

i - the desired line type 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:

VCGetLineWidthIndex, VCGetLayerIndex, VCGetColorIndex