Click or drag to resize

AnnotationControllerFindAnnotationLayer Method (AnnotationUI)

Returns the LayerAnnotation containing a specified annotation.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public LayerAnnotation FindAnnotationLayer(
	AnnotationUI annotation


Type: Atalasoft.Annotate.UIAnnotationUI
The annotation to search for.

Return Value

Type: LayerAnnotation
The LayerAnnotation containing the annotation or null (Nothing in Visual Basic) if the annotation was not found.
This method will being searching through all of the layers in the LayerCollection. Use the FindAnnotationLayer(AnnotationUI) overload to specify a LayerAnnotation from which searching will being.
See Also