activeLayer Property (AnnContainer)

Summary

Gets or sets the active layer in this container.

Syntax

JavaScript Syntax
Object.defineProperty(AnnContainer.prototype, 'activeLayer', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize