View previous topic :: View next topic |
Author |
Message |
stu72
Joined: 12 Nov 2008 Posts: 2
|
Posted: Thu Nov 13, 2008 8:05 pm Post subject: Positiioning of Tables using MigraDoc |
|
|
Following the Invoices example I see how the table is setup, but now how it's positioned. In other elements in the example, frames are setup and given positions, this.addressFrame.Top="5.0cm" for example.
Right now I've created a frame and added the table to the frame. This works, but I'm curious as to how the table in the example was positioned. Also, along the same lines is it possible to have items positioned relative to one another? I want to have two tables that will grow and shrink and I'd like to have the second table flow naturally after the first.
Thanks for the help,
stu |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Mon Nov 17, 2008 8:55 am Post subject: |
|
|
You should only use frames if the size is (roughly) known.
Just add tables to the main body of the document (by not using a frame) and MigraDoc will do the rest: page breaks will be added as neccessary.
Table cells will not break, but tables will break over as many pages as are needed. _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
|
|