Page 1 of 1

How we get Mouse Hover event on AnnotationData

Posted: Thu Sep 19, 2024 12:40 pm
by ankit.acharya
Hi Team,

How we get Mouse Hover event on AnnotationData?

We want to open windows form as popup while cursor move on AnnotationData but Popup open after 2 second same as like tooltip.

Thank you,
Ankit Acharya

Re: How we get Mouse Hover event on AnnotationData

Posted: Fri Sep 20, 2024 4:43 pm
by Alex
Hi Ankit,

The AnnotationData class stores information about annotation data. If you want to get information about mouse events for annotation, you need to use AnnotationView class.

Please read about events of AnnotationView class in documentation: https://www.vintasoft.com/docs/vsimagin ... vents.html

For your task you need to use AnnotationView.MouseEnter and AnnotationView.MouseLeave events.

Best regards, Alexander