PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Jul 16, 2024 4:01 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Nov 02, 2011 7:25 pm 
Offline

Joined: Wed Nov 02, 2011 3:47 pm
Posts: 7
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 03, 2011 8:17 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Every section has a PageSetup object which has an Orientation property.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 03, 2011 1:03 pm 
Offline

Joined: Wed Nov 02, 2011 3:47 pm
Posts: 7
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group