Click or drag to resize

AnnotationControllerFindAnnotationLayer Method (LayerAnnotation, 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(
	LayerAnnotation hostLayer,
	AnnotationUI annotation
)

Parameters

hostLayer
Type: Atalasoft.Annotate.UILayerAnnotation
The host layer to being searching from.
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 is not found.
See Also