NShape Reference
GetLayer Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > ILayerCollection Interface >

NShape Reference
GetLayer Method

Previous pageReturn to chapter overviewNext page

Returns a layer given its id.

Syntax

public Layer GetLayer(LayerIds layerId)

Description

Retrieve the Layer instance associated with the given LayerIds.

Parameters

Name

Description

layerId

Id of the layer to find.

Exceptions

Exception

Condition

ItemNotFoundException

A Layer with the specified layerId was not found in the collection.