Error processing SSI file
(Leadtools.Annotations.Automation)

Show in webframe

DeleteLayer Method






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
public void DeleteLayer( 
   AnnLayer layer,
   bool deleteChildren
)
'Declaration
 
Public Sub DeleteLayer( _
   ByVal layer As AnnLayer, _
   ByVal deleteChildren As Boolean _
) 
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

Error processing SSI file
  Leadtools.Annotations.Automation requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features