How we get Mouse Hover event on AnnotationData

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

ankit.acharya
Posts: 4
Joined: Fri Jul 05, 2024 5:49 pm

How we get Mouse Hover event on AnnotationData

Post 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
Alex
Site Admin
Posts: 2397
Joined: Thu Jul 10, 2008 2:21 pm

Re: How we get Mouse Hover event on AnnotationData

Post 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