Page 1 of 1

Adding annotations behind the scenes

Posted: Fri Dec 03, 2010 1:43 am
by houghtelling50
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

Re: Adding annotations behind the scenes

Posted: Fri Dec 03, 2010 4:42 pm
by Alex
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