VCGetAllLayersEd
VCSetAllLayersEd


Version:

1.2

Description:

Controls how Visual CADD™ treats visible layers other than the current layer. Specifies if objects on all visible layers can be edited or only those on the current layer can be edited.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetAllLayersEd(short* iError);
extern "C" void WINAPI VCSetAllLayersEd(short* iError, vbool tf);

Delphi

function VCGetAllLayersEd(var iError: Smallint):Smallint; stdcall;
procedure VCSetAllLayersEd(var iError: Smallint; tf: Wordbool); stdcall;

ActiveX/COM

Function GetAllLayersEd() As Integer
Sub SetAllLayersEd(ByVal tf As Integer)

Parameters:

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

Notes:

 

See Also:

VCGetAllLayersSnap, VCGetLayerDisplay