Error processing SSI file
(Leadtools.Annotations.Automation)

Show in webframe

AddLayer Method






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
)
'Declaration
 
Public Sub AddLayer( _
   ByVal parentLayer As AnnLayer, _
   ByVal layer As AnnLayer _
) 
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

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