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

new landscape document
https://forum.pdfsharp.net/viewtopic.php?f=2&t=256
Page 1 of 1

Author:  pbturner [ Wed Nov 07, 2007 9:36 pm ]
Post subject:  new landscape document

have some data that i'd like to create a landscape report for. looked thru the C# samples and didn't see anything for creating a new text document in landscape mode. there are 13 columns of data. the amount of data(rows) could result in a multi-page document.

are there any samples/snippets of code that could help me along this path?

Author:  Thomas Hoevel [ Thu Nov 08, 2007 9:04 am ]
Post subject: 

If you're using PDFsharp, look at the PageSizes sample.
If you're using MigraDoc, set the Orientation member of Document.LastSection.PageSetup.
AFAIR MigraDoc will print tables spanning several pages correctly - just set the heading rows and heading columns of your table, and they will appear on every page.

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