PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Jul 10, 2024 8:24 pm

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 May 25, 2011 5:15 pm 
Offline

Joined: Wed May 25, 2011 4:27 pm
Posts: 1
Hi,

In my current application, I've a string builder data that is varying by size. At times, it gets more than 2 pages. Am not sure how to split the data into a standard page size and create PDF with multiple pages.

Has anyone encountered such requirement and resolved this issue. Please let me know if it can be resolved.

Thanks for reading


Top
 Profile  
Reply with quote  
PostPosted: Wed May 25, 2011 8:52 pm 
Offline
Supporter
User avatar

Joined: Thu May 27, 2010 7:40 pm
Posts: 59
Location: New Hampshire, USA
Unfortunately You didn't supply nearly enough information for someone to know what you're trying that doesn't work.

But, I'll take a stab at it.

Try using the higher level MigraDoc library instead of PDFsharp. You should be able to take your stringbuilder, call to string on it and add that to a formatted text object.

Check out the migradoc examples and just try them out with a very large string. I suspect it will break across pages nicely, unless you have to put that large text string inside a table cell. In that case you're kinda hosed... :)

-Jeff


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: No registered users and 123 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