Changing Orientation of an Existing PDF document

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.


1 Reply

SS Sri Subhashini M Syncfusion Team May 27, 2008 10:17 AM UTC

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 [email protected].

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


Loader.
Up arrow icon