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
Adding annotations behind the scenes
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Adding annotations behind the scenes
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
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