PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Position table with MigaDoc http://forum.pdfsharp.de/viewtopic.php?f=2&t=1325 |
Page 1 of 1 |
Author: | L4ngley [ Tue Sep 07, 2010 7:37 am ] |
Post subject: | Position table with MigaDoc |
Hello I am toatly new to MigraDocs and PDF, just started playing around with MigraDoc invoice sample. The table gets in front of the address. Even though I think I have followed the example closely. I want the table element to start like 10cm from top. So I am looking for a position setting/property for the MigraDoc Table that can do this. Help appreciated. Thanx L4ngely |
Author: | () => true [ Wed Sep 08, 2010 8:23 pm ] |
Post subject: | Re: Position table with MigaDoc |
L4ngley wrote: The table gets in front of the address. Normally everything is formatted from top to bottom - normal items will not overlap. Exceptions are header and footer - it's up to you to reserve enough space for header and footer. |
Author: | L4ngley [ Thu Sep 09, 2010 6:52 am ] |
Post subject: | Re: Position table with MigraDoc |
Neither the table or the address paragraph is the heading or footer, but table overlaps (starts above the paragraph/addressframe) Attachment:
File comment: Entire Firste page also showing footer migra_large.png [ 175.85 KiB | Viewed 8173 times ] This shows the problem even better: Attachment:
File comment: Zoomed in on problem migra.png [ 73.86 KiB | Viewed 8173 times ] Might be better to position the address elements in a table above the other table?... To better understand MigraDoc I would like to know why this is happenening... |
Author: | Thomas Hoevel [ Mon Sep 13, 2010 2:31 pm ] |
Post subject: | Re: Position table with MigraDoc |
L4ngley wrote: Neither the table or the address paragraph is the heading or footer, but table overlaps (starts above the paragraph/addressframe) Yes, it's a feature, not a bug. The address is in a textframe at a fixed position (for use with windowed envelopes). You must take care that the table starts below that textframe - otherwise they will overlap which is then a feature and not a bug. Add a paragraph before the table and set the space: Code: paragraph = section.AddParagraph();
paragraph.Format.SpaceBefore = "8cm"; |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |