Page 1 of 1

enable/disable single Annotations

Posted: Mon Dec 20, 2010 6:36 pm
by thompson
Hello Alex,

is it possible to set one ore more property/properties so that a Annotation cannot be resized moved or changed in any other way?
I know that there are four properties (CanResize, CanMove, CanRotate, CanMirror) but i would like to disable every possible changing (also color, transparancy and even removing the selected annotation should be disabled).

If not a Enabled property for Annotations would be a great possibility.

Best regards,
thom

Re: enable/disable single Annotations

Posted: Wed Dec 22, 2010 8:44 am
by Alex
Hello Thom,

Please read description of the SelectionMode property of the AnnotationViewer class. Annotations are shown, they generate events but cannot be modified when selection mode is set to the SelectionMode.AnnotationView.

Best regards, Alexander