(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
public void DeleteLayer( 
   AnnLayer layer,
   bool deleteChildren
)
public void DeleteLayer( 
   AnnLayer layer,
   bool deleteChildren
)
-(void)deleteLayer:(LTAnnLayer)layer deleteChildren:(BOOL)deleteChildren;
public void deleteLayer(AnnLayer layer, bool deleteChildren);
            
 function Leadtools.Annotations.Automation.AnnAutomation.DeleteLayer( 
   layer ,
   deleteChildren 
)

Parameters

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

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

Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


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