PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 04, 2024 2:23 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Migradoc Landscape
PostPosted: Wed May 15, 2013 8:53 am 
Offline

Joined: Mon May 13, 2013 3:49 pm
Posts: 9
Hello,

How can I set the page in landscape orientation in a Migradoc.Document?

Thansk a lot
Maria


Top
 Profile  
Reply with quote  
 Post subject: Re: Migradoc Landscape
PostPosted: Wed May 15, 2013 12:07 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hi!

Set the Orientation property of the PageSetup object to Orientation.Landscape instead of Orientation.Portrait.
You can mix Landscape and Portrait within one document as every new section can have its own PageSetup.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 250 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