Adds a layer to the container.
public void AddLayer(
AnnLayer parentLayer,
AnnLayer layer
)
Public Sub AddLayer( _
ByVal parentLayer As AnnLayer, _
ByVal layer As AnnLayer _
)
-(void)addLayer:(LTAnnLayer)parentLayer layer:(LTAnnLayer)layer;
public void addLayer(AnnLayer parentLayer, AnnLayer layer);
public:
void AddLayer(
AnnLayer^ parentLayer,
AnnLayer^ layer
)
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.
Use LayerFromSelectedObjects to create a layer from the currently selected objects.
Use DeleteLayer to delete a layer from the container.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document