Click or drag to resize

WebAnnotationControllerCurrentLayer Property

Gets or sets the current active layer.

Namespace:  Atalasoft.Imaging.WebControls.Annotations
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: (.NET 4.5.2, x86)
public LayerAnnotation CurrentLayer { get; set; }

Property Value

Type: LayerAnnotation
The current LayerAnnotation being used.

When an annotation is selected, either through code or by the user, the layer it's contained in becomes the current layer. When multiple annotations in different layers are selected, the last selected annotation's layer will become the current layer.

When an annotation is created by the user, it will be added as a child of the current layer.

See Also