Adding annotations behind the scenes

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

Moderator: Alex

Post Reply
Posts: 2
Joined: Sat Oct 09, 2010 12:19 am

Adding annotations behind the scenes

Post by houghtelling50 » Fri Dec 03, 2010 1:43 am

I am trying to apply some annotations dynamically to a document.

mControl.Images.Add( "filepath.tif", true );

StampAnnotation tool = new StampAnnotation();
tool.Text = "Hello World";
mControl.Annotations[0].Add( tool );

This shows the annotation correctly, in both the annotation viewer and annotation thumbnail viewer. However when I edit the annotation by moving, rotating, or changing text the annotation thumbnail viewer show the original image and the new image. I'm not sure if this is a bug or if I am adding the annotations incorrectly.

After adding the annotation: ... terAdd.png
After moving the annotation: ... erMove.png

Thanks for any advice!

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

Re: Adding annotations behind the scenes

Post by Alex » Fri Dec 03, 2010 4:42 pm

Hello Jerod,

Thank you for your message. It's a bug in SDK (from version to, your code is correct. We fixed this bug in version of VintaSoftImaging.NET SDK.

Best regards, Alexander

Post Reply