GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Can I convert xml file to a graph in web?

Click to view RSS...
Author Is there an API or something that I can use to convert xml file(gno file) to graph?
Posted Thursday, April 14, 2011 - Post #28195
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

GenoPro version: 2.5.3.9
Last Login: Sunday, April 17, 2011
Posts: 2, Visits: 12
I have a web site that need to use GenoPro. Users want to watch family tree graphs in web and still can download the files to edit.And they want to minimize the steps when they use it. I guess that xml file is a way to show in the web site and exchange it between each user.

So now I need to read xml file and present it as a graph in my web site programs.

Is there an API or something that I can use to convert xml file(gno file) to graph?


Edited: Thursday, April 14, 2011 by GenoProSupport
Posted Thursday, April 14, 2011 - Post #28200
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
GenoPro has two methods: SavePictureOfGenoMap and CopyPictureOfGenoMapToClipboard.

In a nutshell, you create an empty GenoPro document (New GenoPro.Document, load the XML using the method SetTextXML which GenoPro will draw the family tree, and then extract the family tree image using either SavePictureOfGenoMap and CopyPictureOfGenoMapToClipboard.  The image will be stored in a metafile format, so you may render it to a PNG. Save the PNG on disk and use it for the web.

For more details and sample source code, feel free to visit: Automating genogram display
Posted Thursday, April 14, 2011 - Post #28203
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

GenoPro version: 2.5.3.9
Last Login: Sunday, April 17, 2011
Posts: 2, Visits: 12
Thank you so much!

That's what I need!


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse