LEADTOOLS Support
Document
Document SDK Questions
Re: Using a database to save annotations instead of a .ann file
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, April 2, 2007 1:16:36 PM(UTC)
Groups: Registered
Posts: 4
I am looking for a method to save the information in a .ann file to a database instead of a file as there are many occaisions where we require different annotations for the same document depending on the end use requirements of the document. It would also improve application perf across the network, decrease disk footprint, improve security through the web interface, etc. The strategy I am looking at is saving annotations as xml to memory then writing the file stream to a database feild in a blob. Reconstituting the file would then require, loading the xml into a file in memory and using L_AnnLoadMemory to pull the annoations back out for use. To do this I will need to upgrade to 14.5 at least. Is there a simpler way to accomplish this that I may have missed? I keep seeing references to VB data binding and databases ind the documentation but no detail.
#2
Posted
:
Thursday, April 5, 2007 7:27:48 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Like you found out you can save the annotation object to
memory using the L_AnnSaveMemory function. The function itself existed in
previous versions of LEADTOOLS, but saving XML format was only added in LEADTOOLS v14.5.
This means if you can use formats other than XML, you don't
necessarily need to upgrade to v14.5.
If you want the XML format and don't have LEADTOOLS
14.5 or 15, you can download the free evaluation edition from our site and try
it.
LEADTOOLS Support
Document
Document SDK Questions
Re: Using a database to save annotations instead of a .ann file
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.