LEADTOOLS Support
General
General Questions
Re: WPF saving annotations back to image ... problem Realize() menthod is gone
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, December 21, 2009 3:29:25 AM(UTC)
Groups: Registered
Posts: 17
hi, i've seen this post and was really helpful
http://support.leadtools.com/SupportPortal/CS/forums/18317/ShowPost.aspx#18344
however on the code where
automation.Realize();
is coded, I can't do so in my WPF project. somehow the only method that is showing in intellisense is RealizeRedaction(). There's no Realize(), I wonder how I can burn the annotation back into the image like what the post says there. i assume that's not WPF code in the post.
thanks
#2
Posted
:
Tuesday, December 22, 2009 5:14:00 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
#3
Posted
:
Tuesday, February 16, 2010 1:34:08 AM(UTC)
Groups: Registered
Posts: 17
Hi again
I've managed to update my Leadtools with the patch LIC - NET - 2_4_2010.zip and followed instructions on installing them. (pretty simple) and found Realize() is there now. I'm attaching a sample WPF application based on my post from:
http://support.leadtools.com/SupportPortal/CS/forums/32098/ShowPost.aspx
where the annotation loads from file: test.ann from a specific page. I've programmed the annotation saving on application exit but burning the annotation back to the image doesn't seem to work. The save annotation code does as follows:
1. Loop thru each image and select it for the viewer
2. Enable the associated annotation for the image by loading from test.ann file
3. save the annotation
4. Get a rasterImage from the viewer, clone it.
5. save the cloned image back to the same file.
the file(s) gets a new timestamp but the annotation isn't burned. Can you point out my mistakes? i've had problem this 1 day now.
If you'd like to take a stab at the code, add a document serial # at line 49 of window1.xaml.cs.NOte that before you exit the app (thus triggering save annotation code), check out that the annotation are indeed working and loading/unloading from file test.ann as you go thru the images in the list.
thanks.
attachments is going to support@leadtools, somehow i can't attach anything here , sorry.
#4
Posted
:
Tuesday, February 16, 2010 5:02:28 AM(UTC)
Groups: Registered
Posts: 19
I would like to get the same patch but i want to know if this problem was resolved first... ???
#5
Posted
:
Tuesday, February 16, 2010 5:37:02 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Please do not assume that you are facing the exact same problem mentioned in the forum post.
To continue discussing your issue, please send an email to
support@leadtools.com.
In that email, please mention the following:
1- The build number (file version info) of Leadtools.dll file on your machine.
2- Send us more details about the problem you are facing and how can we see this issue.
3- A link to this forum post.
#6
Posted
:
Wednesday, March 3, 2010 8:43:00 PM(UTC)
Groups: Registered
Posts: 17
yep This prob was resolved! thanks to all the help from support. The feb 4, 2010 patch is the one that has the Realize() method.
#7
Posted
:
Thursday, March 4, 2010 3:14:47 AM(UTC)
Groups: Registered
Posts: 19
yes thanks I got the patch and it fixed my problem
LEADTOOLS Support
General
General Questions
Re: WPF saving annotations back to image ... problem Realize() menthod is gone
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.