Click or drag to resize

AnnotationControllerCurrentLayer Property

Gets or sets the current active layer.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.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