Adds the names of all layers from the loaded CAD file to the specified list.

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

Public Sub GetLayerNames( _ 
ByVal S As ArrayList, _ 
ByVal DoClear As Boolean, _ 
ByVal IncludeUnused As Boolean
)
This language is not supported or no code example is available.
public void GetLayerNames( 
ArrayList S
bool DoClear
bool IncludeUnused 
)
This language is not supported or no code example is available.

Parameters

S

Type: ArrayList

An ArrayList where the names of layers will be added.

DoClear

Type: bool

A value indicating whether to clear the specified ArrayList before adding the names of layers to it.

IncludeUnused

Type: bool

A value indicating whether to include the names of layers that don't contain any entities.

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

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, NET6