PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 6:13 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: Thu Nov 13, 2008 8:05 pm 
Offline

Joined: Wed Nov 12, 2008 9:44 pm
Posts: 2
Following the Invoices example I see how the table is setup, but now how it's positioned. In other elements in the example, frames are setup and given positions, this.addressFrame.Top="5.0cm" for example.

Right now I've created a frame and added the table to the frame. This works, but I'm curious as to how the table in the example was positioned. Also, along the same lines is it possible to have items positioned relative to one another? I want to have two tables that will grow and shrink and I'd like to have the second table flow naturally after the first.

Thanks for the help,

stu


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Nov 17, 2008 8:55 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
You should only use frames if the size is (roughly) known.
Just add tables to the main body of the document (by not using a frame) and MigraDoc will do the rest: page breaks will be added as neccessary.
Table cells will not break, but tables will break over as many pages as are needed.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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 427 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