We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF Orientation

Thread ID:

Created:

Updated:

Platform:

Replies:

147137 Sep 3,2019 04:27 AM UTC Sep 4,2019 01:43 PM UTC WPF 1
loading
Tags: PDF
Ariel
Asked On September 3, 2019 04:27 AM UTC

Hi

How can I update the orientation of PDF file?

Thanks

Sowmiya Loganathan [Syncfusion]
Replied On September 4, 2019 01:43 PM UTC

Hi Ariel, 

Thank you for contacting Syncfusion support.  

We can create PDF document with different orientation (portrait and landscape) using PdfPageOrientation, please refer the below code snippet for more details, 

//Create a new PDF document 
PdfDocument document = new PdfDocument(); 
 
//Change the page orientation to landscape. 
document.PageSettings.Orientation = PdfPageOrientation.Landscape; 

Please refer the below KB link for your reference, 

Please try the above solution in your end and let us know the result. 

Regards, 
Sowmiya L 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon