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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public int CountAnnotations(
LayerAnnotation layer
)
Public Function CountAnnotations (
layer As LayerAnnotation
) As Integer
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