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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Change PdfPage Graphics DPI

Thread ID:





93283 Mar 8,2010 01:44 PM UTC Mar 11,2010 08:38 AM UTC WinForms 1
Tags: PDF
Vijay Bhaskar
Asked On March 8, 2010 01:44 PM UTC


Default Resolution of PdfPage.Graphics is 90 DPI. Can i change that to 300 DPI

Thanks & Regards,

Karthik M [Syncfusion]
Replied On March 11, 2010 08:38 AM UTC

Hi Vijay,

Could you please clarify whether you are looking for changing the default zoom factor of the generated document ? If so, the following code-snippet would do that.

[Code Snippet]

//Create a new document.
PdfDocument document = new PdfDocument();

//Add a new page to the document.
PdfPage page = document.Pages.Add();

//Create a new destination and set its zoom factor.
PdfDestination dest = new PdfDestination(page);
dest.Zoom = 3f;

//Add action to the document.
document.Actions.AfterOpen = new PdfGoToAction(dest);

//Save and close the document.

If this is not what you are looking for, then could you please provide us some further details on what you are trying to achieve along with the sample pdf documents.



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

or the page will be automatically redirected to 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