I'm writting an application that pulls in a genealogy (GedCom) file and organizes the individuals into a TreeView. Once that is done, it starts adding the individuals to a RichView. For each individual I add the name, dates spouses and children.
For the children I want to add them in a table as I'm building the document. Is there a way to do this without having to first format the document, move to the end, and then insert the table?
Thanks.
Adding Tables at the end while building document
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
For document generation, use Add*** methods, and then call Format.
For tables, use AddItem method:
For tables, use AddItem method:
Code: Select all
...
table.ParaNo := <index of paragraph style>;
rv.AddItem('', table);