Click or drag to resize

AnnotationControllerCountAnnotations Method (LayerAnnotation)

Returns the number of annotations in the provided layer.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public int CountAnnotations(
	LayerAnnotation layer
)

Parameters

layer
Type: Atalasoft.Annotate.UILayerAnnotation
The layer to count.

Return Value

Type: Int32
The number of annotations in the layer.
Remarks
If a LayerAnnotation is being used as a group it will only count as 1, even though it may contain several child annotations.
See Also