PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MigraDoc Lite + Header Problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
Arne E.



Joined: 06 Aug 2007
Posts: 1

PostPosted: Sat Aug 11, 2007 11:42 am    Post subject: MigraDoc Lite + Header Problem Reply with quote

Hi Everybody,
I made a Invoice with MigraDoc Lite, but on the pages after the first one the header is in the background of the table.
I tried allready to set the TopMargin of the Page without success =(
Because it worked for the following pages, but on the first page the distance from the content to the top of the page is 2times longer.

I hope someone can help me =)

Heres the Doc with no topmargin: http://ae-webmedia.de/uploads/test1.pdf

Sry for my bad english, im german =)
Back to top
View user's profile Send private message
pogu



Joined: 19 Sep 2007
Posts: 1

PostPosted: Wed Sep 19, 2007 10:11 am    Post subject: Reply with quote

Hi !
I have exact the same problem.
I'm using a tabel for the adress to get it more nicer, and it writes over the header.
Back to top
View user's profile Send private message
Thomas Hoevel



Joined: 16 Oct 2006
Posts: 387
Location: Cologne, Germany

PostPosted: Wed Sep 19, 2007 10:31 am    Post subject: Reply with quote

Hi!

Could be a bug or a feature.
If the header is 3 cm high and starts 1.5 cm from the page border, then you'll need a topmargin of at least 4.5 cm to avoid overlapping.

The PDF file doesn't help a lot here!
An MDDDL file would be more helpful here.
You can create it like this (from your MigraDoc Document "document"):
Code:
#if DEBUG
      string strDirectory = Path.GetDirectoryName(pdfFilename);
      DdlWriter dw = new DdlWriter(Path.Combine(strDirectory, @"samplepdf.mdddl"));
      dw.WriteDocument(document);
      dw.Close();
#endif

You can check that MDDDL file yourself to see if it contains the page margins you set.
_________________
Regards
Thomas Hoevel
PDFsharp Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com