Page 1 of 1

Annotation viewer detect changes

Posted: Fri Mar 24, 2023 2:03 pm
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

Re: Annotation viewer detect changes

Posted: Fri Mar 24, 2023 3:52 pm
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