LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

DeleteLayer Method

Show in webframe
The layer to delete. This parameter cannot be null since you cannot delete the default root layer of the container.
true to also delete the layer children (objects and layers).
Delets a layer from the container
Syntax
 function Leadtools.Annotations.Automation.AnnAutomation.deleteLayer( 
   layer ,
   deleteChildren 
)

Parameters

ParameterTypeDescription
layerAnnLayerThe layer to delete. This parameter cannot be null since you cannot delete the default root layer of the container.
deleteChildrenbooltrue to also delete the layer children (objects and layers).
Remarks

Use this method to delete a layer from the container as follows:

See Also

Reference

AnnAutomation Object
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.