PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Add two separate tables at footer section http://forum.pdfsharp.de/viewtopic.php?f=2&t=792 |
Page 1 of 1 |
Author: | sfvaleriano [ Thu Jul 16, 2009 2:47 pm ] |
Post subject: | Add two separate tables at footer section |
Hi, i want add two separate tables at footer section (MigraDoc.DocumentObjectModel) but with this pseudo-code: Code: setup table1 section.footers.primary.add(table1) setup table2 section.footers.primary.add(table2) the two tables are superimposed. How can i do it? Thanks, Valeriano |
Author: | Thomas Hoevel [ Thu Jul 16, 2009 3:09 pm ] |
Post subject: | Re: Add two separate tables at footer section |
Hi, Valeriano! To have both tables side by side: Put one table into a TextFrame and position that TextFrame to the right: Code: TextFrame tf = footer.AddTextFrame(); tf.RelativeHorizontal = RelativeHorizontal.Page; tf.RelativeVertical = RelativeVertical.Paragraph; tf.Left = ShapePosition.Right; tf.WrapFormat.Style = WrapStyle.Through; Also set the Width of the TextFrame. To have the second table after the first table: No idea, but I'd try putting both tables into one Textframe. Maybe one table is enough (using MergeRight or MergeDown in some cells)?!?!? |
Author: | sfvaleriano [ Thu Jul 16, 2009 3:18 pm ] |
Post subject: | Re: Add two separate tables at footer section |
The two tables must be arranged vertically (occupy the entire width of the page) Yes in the first table i merge some cell |
Author: | sfvaleriano [ Mon Jul 20, 2009 3:44 pm ] |
Post subject: | Re: Add two separate tables at footer section |
There isn't solution? |
Author: | Thomas Hoevel [ Tue Jul 21, 2009 11:16 am ] |
Post subject: | Re: Add two separate tables at footer section |
Solutions here: viewtopic.php?p=1958#p1958 To have the second table after the first table: No idea, but I'd try putting both tables into one Textframe. Maybe one table is enough (using MergeRight or MergeDown in some cells)?!?!? |
Author: | sfvaleriano [ Fri Jul 24, 2009 8:00 am ] |
Post subject: | Re: Add two separate tables at footer section |
Hi, structures are different and while the former is fixed, the second can change according to the document to be printed. i try use two textframe.... valeriano |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |