VCGetAllLayersSnap
VCSetAllLayersSnap


Version:

1.2

Description:

Controls how Visual CADD™ treats visible layers other than the current layer. Specifies if snaps are made to all visible objects or to only those on the current layer.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetAllLayersSnap(short* iError);
extern "C" void WINAPI VCSetAllLayersSnap(short* iError, vbool tf);

Delphi

function VCGetAllLayersSnap(var iError: Smallint):Smallint; stdcall;
procedure VCSetAllLayersSnap(var iError: Smallint; tf: Wordbool); stdcall;

ActiveX/COM

Function GetAllLayersSnap() As Integer
Sub SetAllLayersSnap(ByVal tf As Integer)

Parameters:

tf - toggle setting
0 - Off (Unchecked)
1 - On (Checked)
2 - Restore previous state

Notes:

 

See Also:

VCGetAllLayersEd, VCGetLayerDisplay