PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jul 15, 2024 10:03 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jan 07, 2009 3:32 am 
Offline

Joined: Wed Jan 07, 2009 3:24 am
Posts: 2
Hi, Having studied as much documentation and "sample projects"
in Particular "Hello MigraDoc" and "paragraphs"
I am still in the dark as to how MigraDoc "automatically" inserts page breaks and line breaks.
I have a couple of PDF pages being rendered except on the first page the block of text is perfectly 'paragraphed' but on the following page using a similar process, text is output as a single line that disappear of both sides of the page!

Is there a special character(s) that need to be inserted in the text so MigraDoc knows where words and/or sentences end so that wrapping can occur??

Thanks in advance

John


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 07, 2009 9:03 pm 
Offline

Joined: Wed Jan 07, 2009 3:24 am
Posts: 2
I have found the problem.

Altho there is probably something i could do to use only 1 doc renderer...

I had omitted to call
docRenderer.PrepareDocument();
on the second page.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 22 guests


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 post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group