Hi
I would appreciate an example that generates 2 table elements in a single page element within the document.
Currently, I am able to generate one table per page, even if I create a page for every 2 table element....
Am I missing some basic principal?
Thanks,
Liat Malka
Table elements in a single page
Re: Table elements in a single page
Support · Dec 8, 2008Hello Liat,
Yes, you can add two tables to a single page without any problem. You will have to create two different table objects with respective X, Y positions. Then you can add these two table objects to the same page object.
Table t1 = new Table( 10, 10, 200, 50 );
//Build this table with columns and rows
Table t2= new Table( 10, 150, 200, 50 );
//Build this table with columns and rows
page.Elements.Add( t1 );
page.Elements.Add( t2 );
document.Pages.Add( page );
What exact problem are you having? If this is not what you are looking for then please be more specific about your requirements.
Thanks,
ceTe Software Support Team.