Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:17:13+00:00 2026-06-08T22:17:13+00:00

I am using PDFSharp to export a table to PDF (using the regular MigraDoc.DocumentObjectModel.Tables.Table

  • 0

I am using PDFSharp to export a table to PDF (using the regular MigraDoc.DocumentObjectModel.Tables.Table object). It works great except I ran into a few issues:

  1. if the content of a single cell in the table is longer than the height of the page it seems like the content just gets cut off. A table itself can span multiple pages but a row seems like it can only be 1 page high and It seems like it doesn’t extend onto the next page.

Is there any workaround to this or is this just a bug in the library?

  1. Also for tables that span multiple pages, is there a way to have the header row on the table show up at the top of every page?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:17:15+00:00Added an answer on June 8, 2026 at 10:17 pm

    Re first question:
    It’s documented that MigraDoc does not break table rows over multiple pages. It’s not a bug, it’s a limitation. So it’s up to you to design the tables that this does not cause problems.
    IIRC there is a hack published on the PDFsharp forum that increases the page height to work around this problem. If you only need PDFfiles, this could be a workaround.

    Edit: Didn’t find the link when I made the post, but found it today when I tried again: Here’s the workaround:
    http://forum.pdfsharp.net/viewtopic.php?p=4311#p4311
    I didn’t try it myself.

    Re second question:
    Rows marked as header rows will be repeated on every new page. Just set the HeadingFormat property of those rows to true.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using PDFsharp / MigraDoc to write tables and charts to PDF files.
We are creating PDF documents on the fly from the database using PDFsharp .
I have the following code: using System; using System.Diagnostics; using System.IO; using PdfSharp.Pdf.Printing; namespace
I am using PDFsharp to create PDF files in my C# application. It's working
I have a program that is manually generating a PDF using PDFsharp in C#.
I am successfully able to extract images from a pdf using pdfsharp. The image
I want to use MigraDoc/PdfSharp to create and store PDF documents. Is there a
I am using PdfSharp dll to print a pdf. This is the code that
I am using an external DLL (pdfsharp) to open (then manipulate) lots of PDF
Hi there i had been sucessfully using this great library PDF Sharp.now i wanted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.