Adding annotations behind the scenes

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

Moderator: Alex

Post Reply
houghtelling50
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: http://cid-c168d16d5617adf3.office.live ... terAdd.png
After moving the annotation: http://cid-c168d16d5617adf3.office.live ... erMove.png

Thanks for any advice!
-Jerod

Alex
Site Admin
Posts: 1564
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 4.3.0.1 to 4.3.4.1), your code is correct. We fixed this bug in version 4.3.5.1 of VintaSoftImaging.NET SDK.

Best regards, Alexander

Post Reply