CJH
CJH

Reputation: 1594

Simple Tables in PDFsharp - without using MigraDoc?

I have been tasked with trying to transpose our current ITextSharp PDF Export functionality over to use PDFsharp. I am finding some similarities between the two products which is helpful however I am particularly finding it difficult to find much information on creating Tables within PDFsharp Documents...
Everywhere I look is taking me down the road of MigraDoc. I am curious to know if I am just missing a trick with PDFsharp or do I really need to get started with MigraDoc?

Upvotes: 1

Views: 2956

Answers (1)

To create tables with PDFsharp you have to draw text and then draw lines around it. PDFsharp is a low-level library for creating PDF files. There are no tables (yet) in PDFsharp.

MigraDoc is a high-level document library and it is much like Word, having tables, paragraphs and handling line-breaks and page-breaks for you.

Depending on your needs either try MigraDoc or create your own table helpers for PDFsharp.

Upvotes: 4

Related Questions