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 : Friday, August 6, 2010 1:08:59 AM(UTC)

McV  
McV

Groups: Registered
Posts: 5


Hello,

I want to save the annotations (the XML) to a database. Can you tell me how to get the XML for the annotations?

McV
 

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.

#2 Posted : Sunday, August 8, 2010 12:45:55 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

The details depend on which LEADTOOLS version (15, 16, etc.) and programming interface (Main OCX, .NET classes, DLL API, C++ Classes, etc.) you are using.
For example, if you are using LEADTOOLS v16.5 .Net programming interface, you can save the annotations to XML by using the AnnCodecs.Save method as follows:
+-----+
Dim codecs As AnnCodecs = New AnnCodecs()

codecs.Save(fileName, container, AnnCodecsFormat.Xml, 1, AnnCodecsSavePageMode.Overwrite)
+-----+

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Monday, August 9, 2010 10:45:12 PM(UTC)

McV  
McV

Groups: Registered
Posts: 5


I'm using .NET V17.
Is it possible to get the xml without saving the file?
 
#4 Posted : Monday, August 9, 2010 11:32:36 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

There is no way to get the XML without saving the annotation objects.
If you want to save the annotations to XML format, you can use the AnnCodecs.Save method to save the annotation to XML format in stream, not file.
For more information, please refer to the AnnCodecs class help topic in the LEADTOOLS .Net documentation.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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-2024, Yet Another Forum.NET
This page was generated in 0.086 seconds.