Annotation viewer detect changes

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

Moderator: Alex

Post Reply
deedubya
Posts: 6
Joined: Wed Mar 22, 2023 4:09 pm

Annotation viewer detect changes

Post by deedubya »

Hi,

Is there any way to detect changes to any of the images is an annotation viewer (WPF). I know each image has a IsChanged flag but this is not updated when annotations are added, deleted or modified - but does seem to get modified on rotate or crop.

I guess what I am looking for is a property I can hook into the UI to enable a save button when the image itself is modified or any annotation action.

thanks
Alex
Site Admin
Posts: 2313
Joined: Thu Jul 10, 2008 2:21 pm

Re: Annotation viewer detect changes

Post by Alex »

Hi,

If you want to have information about status of annotation collection in WPF image viewer, you need to subscribe to the events of annotation visual tool (WpfAnnotationViewer.AnnotationVisualTool property). Please see information about available events here: https://www.vintasoft.com/docs/vsimagin ... vents.html

Best regards, Alexander
Post Reply