Creates a new layer from the currently selected objects.
Public Overridable Function LayerFromSelectedObjects( _
ByVal layerName As String _
) As Leadtools.Annotations.Core.AnnLayer
public virtual Leadtools.Annotations.Core.AnnLayer LayerFromSelectedObjects(
string layerName
)
-(LTAnnLayer*)layerFromSelectedObjects:(NSString*)layerName;
public AnnLayer layerFromSelectedObjects(String layerName);
function Leadtools.Annotations.Automation.AnnAutomation.LayerFromSelectedObjects(
layerName
)
layerName
Optional layer name. Can be null.
The newly created layer.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET