←Select platform

ActiveLayer Property

Summary
Gets or sets the active layer in this container.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public AnnLayer ActiveLayer { get; set; } 
@property (nonatomic, strong) LTAnnLayer *activeLayer; 
public AnnLayer getActiveLayer(); 
public void setActiveLayer(AnnLayer layer) 
public:  
   property AnnLayer^ ActiveLayer 
   { 
      AnnLayer^ get() 
      void set(AnnLayer^ value) 
   } 
ActiveLayer # get and set (AnnContainer) 

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.

For a demo, refer to the AnnotationsLayersDemo in your LEADTOOLS setup.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.