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

SfPdfViewerControl.ViewMode FitWidth Behaviour

Thread ID:

Created:

Updated:

Platform:

Replies:

147381 Sep 6,2019 10:52 AM UTC Oct 3,2019 01:38 PM UTC UWP 6
loading
Tags: SfPdfViewer
Samuel Cheah
Asked On September 6, 2019 10:52 AM UTC

The UWP app I am working on integrates SfPdfViewerControl to display the PDF document to the user. Due to the size of the PDF and the display dimensions of the app, the FitWidth mode has been set for the ViewMode. However, when resizing the PDF to fit the width of the view, the PDF loaded and shrink to fit the viewer, which appears to be "flashing" on the view. Is it possible to modify the behaviour of SfPdfViewerControl to resize and attach the PDF to SfPdfViewerControl, once the view (a customised dialog) is loaded before rendering it on screen, so that the PDF appears along the dialog without "flashing"?

Gayathri Ramalingam [Syncfusion]
Replied On September 9, 2019 01:43 PM UTC

Hi Samuel, 
 
Greeting from Syncfusion. 
 
Query 
Details 
The UWP app I am working on integrates SfPdfViewerControl to display the PDF document to the user. Due to the size of the PDF and the display dimensions of the app, the FitWidth mode has been set for the ViewMode. However, when resizing the PDF to fit the width of the view, the PDF loaded and shrink to fit the viewer, which appears to be "flashing" on the view. 
Based on your update, we assume that you have been facing issue “The PDF document is loaded again and shrink to fit the PDF Viewer when performing zoom-in to the PDF and then resizing the application window”. We were able to reproduce this issue in our side and we suspect this to be a defect. We have forwarded this issue to our development team for further analysis and we will update further details by 11-September-2019. 
 
If our understanding is different from your requirement, could you please explain briefly about your requirement? It will be useful for us to investigate further on this and assist you with the better solution at the earliest.      
 
 
Is it possible to modify the behaviour of SfPdfViewerControl to resize and attach the PDF to SfPdfViewerControl, once the view (a customised dialog) is loaded before rendering it on screen, so that the PDF appears along the dialog without "flashing"? 
We could not proceed further with the details provided in the incident. Could you please explain briefly about your requirement? So that it will be easy for us to investigate further on the requirement and assist you with the better solution at the earliest.   
 
 
 
 
With Regards, 
Gayathri R 
 


Samuel Cheah
Replied On September 10, 2019 01:03 AM UTC

Hi Gayathri,

Thank your for your prompt response. At the moment, the "flashing" when resizing the PDF document is the only problem that I have. The second request is negligible as the user is ok with the PDF viewer on our app.


Regards,
Samuel

Gayathri Ramalingam [Syncfusion]
Replied On September 10, 2019 05:36 AM UTC

Hi Samuel, 
 
Thank you for your update. 
 
As we mentioned earlier, we will provide the validation details for the issue “The PDF document is loaded again and shrink to fit the PDF Viewer when performing zoom-in to the PDF and then resizing the application window” on 11-September-2019. 
 
With Regards, 
Gayathri R 
 


Jhansi Priya Ramesh [Syncfusion]
Replied On September 11, 2019 01:17 PM UTC

Hi Samuel, 

We have confirmed that the issue “The PDF document is loaded again and shrink to fit the PDF Viewer when performing zoom-in to the PDF and then resizing the application window” is defect and logged defect report for this issue. The patch for this issue will be delivered on 25-September-2019. 
 
 
Regards, 
Jhansi  


Gayathri Ramalingam [Syncfusion]
Replied On September 25, 2019 01:52 PM UTC

Hi Samuel, 
 
Sorry for the inconvenience caused,     
 
We haven’t resolved the issue of “The PDF document is loaded again and shrink to fit the PDF Viewer when performing zoom-in to the PDF and then resizing the application window” due to its complexity. Currently we are working in this with high priority, we will update the patch on 03rd October 2019 without any further delay.     
 
With Regards, 
Gayathri R 
 


Ashokkumar Viswanathan [Syncfusion]
Replied On October 3, 2019 01:38 PM UTC

Hi Samuel,  
  
Thank you for the patience,    
  
The issue with " The PDF document is loaded again and shrink to fit the PDF Viewer when performing zoom-in to the PDF and then resizing the application window” has been fixed and the custom NuGet for the same can be downloaded from the following link     
  
  
Disclaimer
Please note that we have created this NuGet for version 17.2.0.46 specifically to resolve the following issue(s) reported in this/the Forum.
147381  
    
This fix will be included in our 2019 Vol 3 Service pack release which will be available in November 2019. 
 
Regards, 
Ashokkumar Viswanathan

 


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.

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