←Select platform

ActiveLayer Property

Summary

Gets or sets the active layer in this container.

Syntax
C#
VB
Objective-C
C++
Java
public AnnLayer ActiveLayer { get; set; } 
Public Property ActiveLayer As AnnLayer 
@property (nonatomic) LTAnnLayer* activeLayer; 
public AnnLayer getActiveLayer(); 
public void setActiveLayer(AnnLayer layer) 
public:  
   property AnnLayer^ ActiveLayer 
   { 
      AnnLayer^ get() 
      void set(AnnLayer^ value) 
   } 

Property Value

The active layer in this container. The default value is null, denoting the default layer in the container.

Remarks

Any container can be designated as the active object in the container using ActiveLayer. The active container is null by default, denoting the default layer in the container. Any new objects drawn on the container using automation are added to the active container.

Example

For an example, refer to the AnnotationsLayerDemo in your LEADTOOLS setup.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly