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 »

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: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Minimum size of textannotation

Post 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
Post Reply