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.
Syncfusion Feedback

Embed ''Fit to Printable Area'' setting in document

Thread ID:

Created:

Updated:

Platform:

Replies:

93688 Mar 29,2010 04:02 PM UTC Apr 6,2010 09:34 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
Justin Killen
Asked On March 29, 2010 04:02 PM UTC

Is there any way to create a document that has the page scaling specified? Specifically, I want the output document to be set to 'Fit to Printable Area', so that when I do a print on the file (from windows explorer context menu), it scales that way instead of the user's default.

Pravin Joshua D [Syncfusion]
Replied On April 6, 2010 09:34 AM UTC

Hi Justin,

Thank you for using Essential PDF.

It is possible to set the page scaling to either none or default using the following code snippet.

[C#]
doc.ViewerPreferences.PageScaling = PageScalingMode.None;


In the PDF reference, the allowable flags are only 'None' and 'AppDefault'. Hence, it is not possible to set the other page scaling like 'Fit To Printable Area'.

Please let us know if you have any questions.

Regards,
Pravin.

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.

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

;