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

Setup View Magnification

Thread ID:





99673 Jun 3,2011 08:08 AM UTC Jun 7,2011 05:46 AM UTC Silverlight 3
Tags: PDF
Jani Giannoudis
Asked On June 3, 2011 08:08 AM UTC


Is it possible the set the viewer magnification to fit the page width?

Acrobat option: File > Document Properties > Initial View > Document Options > Magnification


Geetha M [Syncfusion]
Replied On June 6, 2011 05:11 AM UTC

Hi Jani,

Thank you for your interest in Syncfusion products.

It is not possible to set the viewer magnification at DocumentProperties. But you can view the document to FitPage using the following JavaScriptAction set to document:

PdfJavaScriptAction action = new PdfJavaScriptAction("this.zoomType = zoomtype.fitP;");
document.Actions.AfterOpen = action;

Please note that this does not change the viewer magnifiction at DocumentProperties.

Please let me know if you have any questions.


Jani Giannoudis
Replied On June 6, 2011 08:25 AM UTC

Hi Geetha

Unfortunately JavaScript is - for security reasons - not an alternative.


Geetha M [Syncfusion]
Replied On June 7, 2011 05:46 AM UTC

Hi Jani,

Thank you for the update.

Currently it is not possible to set viewer magnification without using DocumentOpenAction.

Please let me know if you have any questions.



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