WpfAnnotationCanvasCountAnnotations Method (WpfLayerAnnotation) |
Counts the number of annotations in the provided layer.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public int CountAnnotations(
WpfLayerAnnotation layer
)
Public Function CountAnnotations (
layer As WpfLayerAnnotation
) As Integer
Parameters
- layer
- Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to count annotations from.
Return Value
Type:
Int32The number of annotations found in the layer.
Exceptions Remarks Group annotations will only count as 1 annotation.
See Also