Minimum size of textannotation

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

Moderator: Alex

Post Reply
mange71
Posts: 6
Joined: Thu Aug 04, 2011 3:02 pm

Minimum size of textannotation

Post by mange71 » Thu Aug 04, 2011 3:09 pm

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?

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

Re: Minimum size of textannotation

Post by Alex » Sat Aug 06, 2011 7:30 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest