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

MigraDoc - Orientation of new Document
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1834
Page 1 of 1

Author:  dmoody007 [ Wed Nov 02, 2011 7:25 pm ]
Post subject:  MigraDoc - Orientation of new Document

I am a Visual Basic programmer that is using MigraDoc to create PDF files of scanned images. I need the PDF to be oriented in Landscape Letter (8.5 x 11). I see examples in C# to change orientation in PDFSharp but not MigraDoc. Does anyone know the proper calls to change this? Will take C# or VB, just wondering what I need to do and in what order to find these settings.

Douglas

Author:  Thomas Hoevel [ Thu Nov 03, 2011 8:17 am ]
Post subject:  Re: MigraDoc - Orientation of new Document

Every section has a PageSetup object which has an Orientation property.

Author:  dmoody007 [ Thu Nov 03, 2011 1:03 pm ]
Post subject:  Re: MigraDoc - Orientation of new Document

Thomas,

Thank you. I was trying to find it directly in the document and couldn't get it. I found it in section as you stated and it works perfectly.

Douglas

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