←Select platform

ActiveLayer Property

Summary

Gets or sets the active layer in this container.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public AnnLayer ActiveLayer { get; set; } 
Public Property ActiveLayer As Leadtools.Annotations.Core.AnnLayer 
public Leadtools.Annotations.Core.AnnLayer ActiveLayer {get; set;} 
@property (nonatomic) LTAnnLayer* activeLayer; 
public AnnLayer getActiveLayer(); 
public void setActiveLayer(AnnLayer layer) 
             
  
get_ActiveLayer(); 
set_ActiveLayer(value); 
Object.defineProperty('ActiveLayer');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly