Error processing SSI file
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).
Deletes 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

Error processing SSI file