Error processing SSI file
(Leadtools.Annotations.Automation)

Show in webframe

LayerFromSelectedObjects Method






Optional layer name. Can be null.
Creates a new layer from the currently selected objects.
Syntax
public virtual AnnLayer LayerFromSelectedObjects( 
   string layerName
)
'Declaration
 
Public Overridable Function LayerFromSelectedObjects( _
   ByVal layerName As String _
) As AnnLayer
public virtual AnnLayer LayerFromSelectedObjects( 
   string layerName
)
-(LTAnnLayer*)layerFromSelectedObjects:(NSString*)layerName;
public AnnLayer layerFromSelectedObjects(String layerName);
            
 function Leadtools.Annotations.Automation.AnnAutomation.LayerFromSelectedObjects( 
   layerName 
)

Parameters

layerName
Optional layer name. Can be null.

Return Value

The newly created layer.
Remarks

This method will create a new AnnLayer and add all the selected objects to it. The layer is not added to the container since it is up to the caller to determine where to add this layer in the z-order. Either use the AddLayer helper method or use the AnnContainer.Layers collection methods directly.

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