Sets a visibility of the layer.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Sub SetLayerVisible( _ 
ByVal ind As Integer, _ 
ByVal val As Boolean, _ 
ByVal detInvalidate As Boolean
)
This language is not supported or no code example is available.
public void SetLayerVisible( 
int ind
bool val
bool detInvalidate 
)
This language is not supported or no code example is available.

Parameters

ind

Type: int

An index of the layer in the collection of layers.

val

Type: bool

A value which the specified layer's visibility will be set to.

detInvalidate

Type: bool

Outdated. Does nothing

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, Windows10, Windows11

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4; NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1