GetPictureOfGenoMap
SavePictureOfGenoMap
For sample code on OLE automation, you are welcome to visit http://www.genopro.com/sdk/automation/
I can create a method named GetPictureOfGenoMap which will return a picture object of supporting the IPicture interface. With this picture object, you can draw the the genealogy tree with transparency anywhere you want, print it, save it to disk, or insert it to a compound document such as a Word Document or PowerPoint Presentation.
IPicture
1. Display the genealogy tree as part of a VB form, either as a static picture or being wrapped inside a VB OLE control. I have succesfully included the geno document inside an OLE control, and have been able to set it's XML for the tree to be drawn. However, when the OLE control is not in edit mode, or whenever the focus is moved away, the picture disappeared. Is this a bug?
2. Print the genealogy tree in an auto-created mail merged word document. This requires us to get the picture of the tree from GenoPro via OLE automation.
Is there anyway we can get the generated picture of the tree out of GenoPro via OLE automation without user interaction?
We are currently trying version 2.0 beta14.