Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, April 22, 2015 4:30:01 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 3,407

Was thanked: 1 time(s) in 1 post(s)

I am attaching a LEADTOOLS v19 sample C# .Net 4.0 project (using Visual Studio 2010) that does the following:
1. Load a Multipage or Single-page image.
2. If the folder that contains the image contains an Annotations XML file with the same name, it loads it automatically using the AnnCodecs.Load method.
3. If the folder that contains the image doesn't contain an Annotations XML file with the same name, it creates a multipage annotation's XML file that contains different containers (a container for each page in the Multipage source images).
4. You can navigate through the image's pages. When you click "Next", the project automatically saves the current annotations to the Annotation's XML file using the AnnCodecs.Save method. The same thing applies when you click the "Prev" button.
5. If you want to save the current annotations directly to the XML file, you can click the "Save current annotations" button.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
CsNewAnn.zip (14kb) downloaded 14 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.203 seconds.