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.

Duplex propety for PDF document

Thread ID:

Created:

Updated:

Platform:

Replies:

97480 Dec 1,2010 07:32 AM Jan 21,2011 07:19 AM ASP.NET Web Forms (Classic) 3
loading
Tags: PDF
Rambabu Pusala
Asked On December 1, 2010 07:32 AM

Hi All,

I am using Syncfusion 6.2.0.40 API for generating the PDF documents. I would like to know whether we have any API class / property of any class for
"DuplexMode"(PDF Document->File->Properties->Advanced->Print Dialog presets->DuplexMode) setting for the PDF document. If we have this facility in new version of syncfusion API then please guide me.
I am waiting for good reply.


Selvakumar P [Syncfusion]
Replied On December 3, 2010 09:13 AM

Hi Ram babu,

Thanks for using syncfusion products.

We can set the duplex mode in the viewerpreferences as shown in the code snippet below.

newPdfDocument.ViewerPreferences.PageLayout = PdfPageLayout.OneColumn;

Please let us know if you have any questions.

Thanks,
Selvakumar.


Rambabu Pusala
Replied On January 20, 2011 06:59 AM

Thanks for replay,

My requirement is while printing pdf document the output should come in duplex mode.

We can manually do this by setting the print on both sides property in printer settings dialog. But, I want the pdf document that gets generated by syncfusion should have this attribute incorporated so that the clients whoever receive these pdf documents do not have to manually select duplex mode when they take printouts.

Please advice the solution for this as early as possible.

Thanks,
Rambabu.


Selvakumar P [Syncfusion]
Replied On January 21, 2011 07:19 AM

Hi Rambabu,

In Essential Pdf, currently we do not have the control to set the print preferences for the documents. But we can view the document in duplex mode using viewer preferences using the code snippet given in the last update.

Please let us know if you have any questions.

Regards,
Selvakumar.


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.

;