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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public LayerAnnotation FindAnnotationLayer(
	AnnotationUI annotation
)

Parameters

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.
Remarks
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