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.
Unfortunately, activation email could not send to your email. Please try again.

Changing Orientation of an Existing PDF document

Thread ID:

Created:

Updated:

Platform:

Replies:

73863 May 22,2008 08:24 PM May 27,2008 06:17 AM Windows Forms 1
loading
Tags: PDF
Agustin Martinez
Asked On May 22, 2008 08:24 PM

Is there a way to open a PDF document and change the page orientation for one of the pages from portrait to landscape?
I am currently using Syncfusion 5.2.0.25.


Sri Subhashini M [Syncfusion]
Replied On May 27, 2008 06:17 AM

Hi,

This feature is not available pdf.legacy. Legacy dll is provided for backward compatibility and our intention going forward is to eventually stop supporting this dll. So, we strongly discourage new users from using this legacy dll.

Our new PDF do have support for this feature. With the latest version you can read an existing document. I would like to recommend you to upgrade to this version. You can download Essential Studio 2008 Volume 2 from the below forum thread:

http://www.syncfusion.com/downloads/latestversion/default.aspx

Unlock key :

If your Essential Studio license is current, you will be able to obtain the key to install this version from your account in DirectTrac. Otherwise please contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com.

Kindly use the code to set the page orientation

//To set page orientation.
doc.Sections[3].PageSettings.Orientation = PdfPageOrientation.Portrait;

Please into the sample and let me know if this helps.

http://websamples.syncfusion.com/samples/Pdf.Windows/F-73863/main.htm

Regards,
Suba


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.

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.

;