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 : Thursday, March 27, 2008 8:35:59 PM(UTC)
surazmalla

Groups: Registered
Posts: 2


I have the demo version of LEADTOOLS Raster Imaging Pro 15. using that i can able to draw these annotation entities and save on XML file and also load the annotation file. but i have a problem about the read tha annotation entities from XML file. I need a list of annotation entities that i saved on XML file and have to display on list for user interface. can any one help me?

Regards,
Suraj babu malla
 

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 : Friday, March 28, 2008 7:25:46 AM(UTC)

jigar  
Guest

Groups: Guests
Posts: 3,022

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

There are two ways of doing it.  The first way is to read the XML file yourself and find all the annotation entites.  The second way is, once you load the annotation file, you can iterate through the objects in the container and populate the user interface with them.
 
#3 Posted : Saturday, March 29, 2008 8:30:40 PM(UTC)
surazmalla

Groups: Registered
Posts: 2


Thanks Jigar,
Finally i got the solution. here is the line of code that i wrote to populate the list of all annotation entities and stored at array list.

ArrayList CurrentAnnObj = new ArrayList();
foreach (AnnObject obj in _container.Objects)
{
CurrentAnnObj.Add(obj.GetType().Name.ToString());
}

This code may help to other user who will have same problem as mine.

Thanks,
Suraj babu malla
 
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.104 seconds.