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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PdfDocumentView's ZoomMode FitPage size doesn't update

Thread ID:





147106 Aug 31,2019 06:51 AM UTC Sep 4,2019 04:02 PM UTC WinForms 2
Tags: PdfViewer
Asked On August 31, 2019 06:52 AM UTC

There seems to be a bug in PdfDocumentView control. If window is filled with PdfDocumentView and ZoomMode is set to FitPage. Then if you increase the window size, hence increasing PdfDocumentView's size as well, and then again you set ZoomMode to FitPage. It will use first set ZoomMode size, not the current one.

  • Set Window size to 400 x 400
  • Set Zoom to FitPage
  • Increase Window size to like 800 x 800
  • Set Zoom to FitPage again (this time it wont work, it will use size of 400 x 400)

Uthandaraja Selva Sundara Kani [Syncfusion]
Replied On September 2, 2019 11:38 AM UTC

Hi John, 
Greetings from Syncfusion.  
We were able to reproduce the issue with “PdfDocumentView FitPage does not working properly while resize” in our side. We have forwarded this issue to our development team for further analysis and we will update further details on 04th September 2019.  
Uthandaraja S 

Aravindh Sathiyamoorthy [Syncfusion]
Replied On September 4, 2019 04:02 PM UTC

Hi John, 
On further analyzation, we suspect that this issue might have occurred due to defined size given for the PdfDocumentView control. So, this might have not changed the PdfDocumentView size based on the window size. In this case, the size should not be defined for the PdfDocumentView, instead apply Dock value as fill to achieve your requirement. Please find the code snippet for the same from below, 
pdfDocumentView.Dock = DockStyle.Fill; 
Also, we have created a sample for the same and that can be downloaded from the below location, 
Aravindh Sathiyamoorthy.


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

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

Live Chat Icon For mobile
Live Chat Icon