VCGetLayerDisplay
VCSetLayerDisplay


Version:

1.2

Description:

Drawing layers can be turned "off" to eliminate the layer from the screen.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetLayerDisplay(short* iError, short iIndex);
extern "C" void WINAPI VCSetLayerDisplay(short* iError, short iIndex, vbool tf);

Delphi

function VCGetLayerDisplay(var iError: Smallint; iIndex: Smallint):Wordbool; stdcall;
procedure VCSetLayerDisplay(var iError: Smallint; iIndex: Smallint; tf: Wordbool); stdcall;

ActiveX/COM

Function GetLayerDisplay(ByVal iIndex As Integer) As Integer
Sub SetLayerDisplay(ByVal iIndex As Integer, ByVal tf As Integer)

Parameters:

iIndex - the layer index
tf - toggle setting
0 - Off (Unchecked)
1- On(Checked)

Notes:

The entity data is still stored in the drawing and can be turned "on" to re-show the entities. By hiding layers, redraw times can be improved for only the desired details or layers.

See Also:

VCGetLayerRedraw, VCGetLayerDisplay, VCGetLayerIndex