Page 1 of 1

disable doubleclick on TextAnnotation

Posted: Thu Apr 09, 2020 9:01 am
by GHWels
hey,

Is there a parameter to disable the doubleclick on Annotation like "TextAnnotation" or "FreeTextAnnotation"?

mfg GH

Re: disable doubleclick on TextAnnotation

Posted: Thu Apr 09, 2020 3:01 pm
by Alex
Hi,

For solving your task you need to change the annotation view transformer from Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.RectangularTextAnnotationTransformer class to the Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.RectangularAnnotationTransformer class:

Code: Select all

textAnnotationView.Transformer = new Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.RectangularAnnotationTransformer(textAnnotationView);
Best regards, Alexander

Re: disable doubleclick on TextAnnotation

Posted: Fri Apr 10, 2020 1:22 pm
by GHWels
Thank you for your fast help,
but is the anywhere a easy sample.
GH

Re: disable doubleclick on TextAnnotation

Posted: Fri Apr 10, 2020 1:56 pm
by GHWels
Thank you I solved the problem.
Happy Easter
GH