activeLayer Property

Summary

Gets or sets the active layer in this container.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnContainer.prototype, 'activeLayer', 
	get: function(), 
	set: function(value) 
) 
activeLayer: AnnLayer; 

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. When new objects are drawn on the container using automation, the objects are added to the active container.

Example

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

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.