(Leadtools.Annotations.Automation)

AddLayer Method

Show in webframe




Parent layer in the container. Pass null to add the layer to the root of the container
The layer to add. Must not be null.
Adds a layer to the container.
Syntax
public void AddLayer( 
   AnnLayer parentLayer,
   AnnLayer layer
)
public void AddLayer( 
   AnnLayer parentLayer,
   AnnLayer layer
)
-(void)addLayer:(LTAnnLayer)parentLayer layer:(LTAnnLayer)layer;
public void addLayer(AnnLayer parentLayer, AnnLayer layer);
            
 function Leadtools.Annotations.Automation.AnnAutomation.AddLayer( 
   parentLayer ,
   layer 
)

Parameters

parentLayer
Parent layer in the container. Pass null to add the layer to the root of the container
layer
The layer to add. Must not be null.
Remarks

Use LayerFromSelectedObjects to create a layer from the currently selected objects.

Use DeleteLayer to delete a layer from the container.

Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


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