get_activeLayer();
set_activeLayer(value);
Object.defineProperty('activeLayer');
Type | Description |
---|---|
AnnLayer | The active layer in this container. The default value is null denoting the default layer in the container. |
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.
For an example, refer to the AnnotationsLayerDemo in your LEADTOOLS setup.