function Leadtools.Annotations.Automation.AnnAutomation.addLayer( parentLayer , layer )
Use LayerFromSelectedObjects to create a layer from the currently selected objects.
Use DeleteLayer to delete a layer from the container.
AnnAutomation Object AnnAutomation Members