PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Keep Header and Table together?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3569
Page 1 of 1

Author:  ipwillia [ Tue Apr 11, 2017 6:04 pm ]
Post subject:  Keep Header and Table together?

I see that tables have a "KeepTogether" property which prevents the table from being broken across a page. However, when I enable this the table is separated from its header (a paragraph I write just before the table). Is there some way to ensure that the table is not separated from the paragraph written immediately before it?

Thank you in advance.

Author:  TH-Soft [ Wed Apr 12, 2017 7:25 pm ]
Post subject:  Re: Keep Header and Table together?

Paragraphs have a property "KeepWithNext" (or something to that effect).
You have to use version 1.50 to make this work.
With version 1.32 this property cannot keep paragraphs and tables together.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/