PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Jul 16, 2024 10:28 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: Mon Oct 24, 2011 4:50 am 
Offline

Joined: Mon Oct 24, 2011 4:46 am
Posts: 1
I noticed if a table is too big to fit on a page it is pushed down to the next page. I would prefer to keep the table on the current page and allow it to split over the following pages. How can I do this? I have tried KeepTogether true/false but it has no effect.

Also is there a way to apply vertical or horizontal padding to any DocumentObject? For example I have a heading paragraph then a body paragraph underneath. I'd like to add some padding between them without putting them in table cells. Is that possible?

Thanks, MigraDoc is looking very good so far.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 24, 2011 7:35 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
pdfdude wrote:
I noticed if a table is too big to fit on a page it is pushed down to the next page. I would prefer to keep the table on the current page and allow it to split over the following pages. How can I do this? I have tried KeepTogether true/false but it has no effect.
Tables will break to next page, but table cells won't break. Huge rows will be kept together and will move to the next page if they don't fit the current page.

pdfdude wrote:
Also is there a way to apply vertical or horizontal padding to any DocumentObject? For example I have a heading paragraph then a body paragraph underneath. I'd like to add some padding between them without putting them in table cells. Is that possible?
Use SpaceBefore and SpaceAfter of the Style or the Paragraph.
The gap between two paragraphs is the maximum of SpaceAfter of the first and SpaceBefore of the second paragraph.

_________________
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 45 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