Reputation: 11793
Sorry for I am just beginner of PDFsharp. Currently I am learning the MigraDoc. Is there any example for center the Table in a section? Thanks.
Upvotes: 1
Views: 847
Reputation: 21689
With MigraDoc you can set the left indent of the table. Knowing the width of the page and the width of the table, it is simple to calculate the left indent to get a centered table.
Set table.Rows.LeftIndent
as needed.
Upvotes: 3