PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jul 01, 2024 6:23 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed May 09, 2007 3:43 pm 
Offline

Joined: Wed May 09, 2007 3:35 pm
Posts: 1
I am designing a report using just the primitive operations of the XGraphics object. I have variable sized blocks of data that I want to put on a page and when I get to one where there is no more room on a page, I want to create a new page, and then draw it there, continuing, adding pages as necessary, until I have drawn all the blocks.

I see there are things such as BeginContainer(), EndContainer(), Restore(), Save(), and GraphicsStateLevel, and I am assuming this is what I need in order to "try" to draw, see if I went over the end of the page, and if so, rollback, create a new page, try the draw again.

Am I going down the right path? Does anyone have an examples of doing something like this? I'm sure MigraDoc has to do something like this internally, but I need to know how it does it.

Thanks in advance. :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 20, 2007 8:43 pm 
Offline

Joined: Fri Jul 20, 2007 8:41 pm
Posts: 5
Hi,

Did you ever find a solution for this? I need to do the exact same thing. I'm rendering tables and they are fractured across multiple pages when I run out of room, it looks terrible! ;0)

I would really appreciate knowing how you solved your problem, if you did.

Thanks,
Steve


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 23, 2007 8:10 pm 
Offline

Joined: Tue Jul 17, 2007 7:12 pm
Posts: 12
sklett wrote:
Hi,

Did you ever find a solution for this? I need to do the exact same thing. I'm rendering tables and they are fractured across multiple pages when I run out of room, it looks terrible! ;0)

I would really appreciate knowing how you solved your problem, if you did.

Thanks,
Steve


I would like to know about this, too. I would like to know how much space is left on this current page. If not much, I need to start a new table on a new page.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 30, 2007 6:30 pm 
Offline

Joined: Tue Oct 30, 2007 6:27 pm
Posts: 12
I'm new to the site, and am looking to do the same in my application. hopefully a solution will be forthcoming. if not, and i figure it out, i'll post the results.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 06, 2011 11:41 am 
Offline

Joined: Fri May 06, 2011 2:18 am
Posts: 1
Has anyone found a solution to this issue? I really like the PDFSharp and MigraDoc tools! Most of the documents that I will be creating will involve tables and it would be great if this is no longer an issue.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 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