Selects a layer in this AnnAutomation.
AnnAutomation.prototype.selectLayer = function(
New layer to act as the selected layer or null to set the selected layer as the default in the container.
The old selected layer.
Use this method to denote a layer as the selected layer in the container. All objects added using automation from this point will be added to this layer in the container.
You have to make sure the layer stays alive for the duration it is selected in the automation.
To set the active layer back to the default of the container (its root), call selectLayer set to null.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries