GetActiveLayer Method (ILayerManager)

GetActiveLayer Method (ILayerManager) | Send Feedback
See Also Example

Layer[out]
  Active Layer

Gets the active Layer in the document.

# Syntax

Visual Basic |
--- | ---
    Function GetActiveLayer() As Layer

C# |
--- | ---
    Layer GetActiveLayer()

JavaScript |
--- | ---
    GetActiveLayer() : dsLayer

COM native C++ |
--- | ---
    HRESULT GetActiveLayer(
       ILayer** Layer
    )

C++ |
--- | ---
    DSRESULT GetActiveLayer(
       dsLayer** Layer
    )

#### Parameters

Layer[out] or Return Value
  Active Layer

# Example

Create Table (C#)
Create Table (VB.NET)
Create Table (VBA)
Create Table (JavaScript)

# See Also

####

ILayerManager Interface
ILayerManager Members

# Availability

DraftSight V1R1.1