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

page orientation landscape
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1904
Page 1 of 1

Author:  flo12345 [ Mon Feb 13, 2012 9:30 am ]
Post subject:  page orientation landscape

Good Morning everyone,

following problem, I am sure I am blind and unable to find this easy setting.
How can I get a landscape page on migraDoc???

Hope you can help me.
Regards,
Florian

Author:  Thomas Hoevel [ Mon Feb 13, 2012 9:34 am ]
Post subject:  Re: page orientation landscape

Set the Orientation member of the PageSetup object (of the section).

Author:  flo12345 [ Mon Feb 13, 2012 9:39 am ]
Post subject:  Re: page orientation landscape

Thank you very much!!!

For all people searching this, too:
Code:
Section section = document.AddSection();
section.PageSetup.Orientation = Orientation.Landscape;

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