WpfAnnotationCanvasAnnotationFromPoint Method |
Finds the annotation at the specified point.
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 WpfAnnotationUI AnnotationFromPoint(
Point point,
bool pointInControlSpace
)
Public Function AnnotationFromPoint (
point As Point,
pointInControlSpace As Boolean
) As WpfAnnotationUI
Parameters
- point
- Type: System.WindowsPoint
The point to look for an annotation. - pointInControlSpace
- Type: SystemBoolean
Indicates whether the point is in Viewer (control) space or document space.
Return Value
Type:
WpfAnnotationUIThe annotation found at the provided location or null (Nothing in VB) if an annotation is not found.
See Also