addLayer Method

Summary

Adds a layer to the container.

Syntax
TypeScript
JavaScript
AnnAutomation.prototype.addLayer = function( 
   parentLayer, 
   layer 
) 
addLayer( 
   parentLayer: AnnLayer, 
   layer: AnnLayer 
): void; 

Parameters

parentLayer

Parent layer in the container. Pass null to add the layer to the root of the container

layer

The layer to add. Must not be null.

Remarks

Use LayerFromSelectedObjects to create a layer from the currently selected objects.

Use DeleteLayer to delete a layer from the container.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.