Page 1 of 1

Minimum size of textannotation

Posted: Thu Aug 04, 2011 3:09 pm
by mange71
Is there a way to limit the size of a textannotation, eg setting a minimum size of the annotation to prevent the annoation to get a "zero" size width or height?

Re: Minimum size of textannotation

Posted: Sat Aug 06, 2011 7:30 pm
by Alex
Hello,

Current version of VintaSoftImaging.NET SDK does not allow to specify minimal size of annotation easily.

You need to create custom annotation derived from the TextAnnotation and override the resize algorithm (create custom Resizer) - please see our TriangleAnnotation class from the Annotation Demo as example.

We will add ability to specify minimal size of annotation easily in next version of SDK, I think in 2-3 weeks.

Best regards, Alexander