Syncfusion PDF viewer default zoom not working

Hi Syncfusion team,


I am using Syncfusion Pdf viewer in my xamarin.forms UWP app. The pdf zoompercentage ​not working for me.

I am using syncfusion pdfviewer version : 18.4.0.41

What I am trying to achieve is , make the pdf width fit to screen defaultly. Currently it is loading as small and we need to manually zoom in for better readability.  I tried to set the  ViewMode="FitWidth" and Zoomzpercentage ="100". But no luck.

My xaml


   <StackLayout

                            HorizontalOptions="FillAndExpand"

                            VerticalOptions="FillAndExpand">

                            <syncfusion:SfPdfViewer

                                HorizontalOptions="FillAndExpand"

                                InputFileStream="{Binding FileInBase64, Converter={StaticResource base64ToStreamConverter}}"

                                IsPasswordViewEnabled="False"

                                PageViewMode="PageByPage"

                                ShowPageNumber="True"

                                ZoomPercentage="100"

                                ViewMode="FitWidth"

                                Toolbar="{StaticResource ToolbarSettings}"

                                VerticalOptions="FillAndExpand">      

                            </syncfusion:SfPdfViewer>

                        </StackLayout>


Any help for solving this issue is appriciated,.

Reagards,

Anand



 



4 Replies

VD Vikram Devaraj Syncfusion Team July 19, 2021 10:46 AM UTC

Hi Anand, 

Greetings from Syncfusion support, 

We were able to reproduce the issue, “PDF viewer default zoom not working” . Currently, we are validating this issue and we will update the further details on July 22, 2021. 

Regards, 
Vikram D


VD Vikram Devaraj Syncfusion Team July 22, 2021 06:31 PM UTC

Hi Anand,   
    
We have confirmed that the issue “Default zoom not working properly in viewer” is a defect and logged a defect report for this issue. The patch for this issue will be delivered on  August 12, 2021.   
   
Please find the feedback link below,   
 
NOTE: As current behavior, navigating pdf pages in single page view mode will fit to the view port regardless of the zoom applied to the previous pages. So even the above issue fixed only the first or default page get given default zoom percentage value. Currently we do not have support to retain pdf page zoom while navigating PDF pages in single page view mode.  
Please find the feedback link below to know more about the “Support to retain zoom while navigating PDF pages in single page view mode” feature: 
 
Regards,   
Vikram D




VD Vikram Devaraj Syncfusion Team August 12, 2021 05:42 PM UTC

Hi Anand,

Sorry for the inconvenience caused. We are still working on the issue, “Default zoom not working properly in viewer
” due to the complexity of the issue. We will provide patch for the issue on August 16, 2021 without any delay.

Regards,
Vikram D




VD Vikram Devaraj Syncfusion Team August 16, 2021 04:53 PM UTC

Hi Anand,

 
 
We have resolved the issues “PDF viewer default zoom not working” 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 18.4.0.41 specifically to resolve the following issue reported in this forum 167325. 
      
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.       
        
           
This fix will be included in our 2021 Volume 3 Main release which is expected to available in the month of September, 2021 
 
Regards,    
Vikram D

 


Loader.
Up arrow icon