Selects a layer in this AnnAutomation.
public AnnLayer SelectLayer(
AnnLayer activeLayer
)
Public Function SelectLayer( _
ByVal activeLayer As Leadtools.Annotations.Core.AnnLayer _
) As Leadtools.Annotations.Core.AnnLayer
public Leadtools.Annotations.Core.AnnLayer SelectLayer(
Leadtools.Annotations.Core.AnnLayer activeLayer
)
-(LTAnnLayer*)selectLayer:(LTAnnLayer)activeLayer;
public AnnLayer selectLayer(AnnLayer activeLayer);
function Leadtools.Annotations.Automation.AnnAutomation.SelectLayer(
activeLayer
)
public:
AnnLayer^ SelectLayer(
AnnLayer^ activeLayer
)
activeLayer
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 with activeLayer set to null.
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