AnnotationControllerAnnotationFromPoint Method (LayerAnnotation, PointF) |
Returns the annotation at the specified point of a specified 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 AnnotationUI AnnotationFromPoint(
LayerAnnotation layer,
PointF vsPoint
)
Public Function AnnotationFromPoint (
layer As LayerAnnotation,
vsPoint As PointF
) As AnnotationUI
Parameters
- layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The layer to search for annotations. - vsPoint
- Type: System.DrawingPointF
The point to search for an annotation. This point should be specified in view space.
Return Value
Type:
AnnotationUI The annotation at the location or null (Nothing in VB) if there is no
annotation at that location.
See Also