Spire.PDFViewer is a powerful PDF Viewer component for .NET. It allows developers to load PDF document from stream, file and byte array.

Mon Dec 07, 2015 4:15 pm

Hi,


The zoom options doesn't works with all of values, only works with the values "100%", "200%" and "400%".
In the another options, in value of zoom appear "isNaN" and doesn't works.

-The options "50%" and "75%", the image size increases.
-The options "125%" and "150%", the image size decreases.

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Tue Dec 08, 2015 2:52 am

Hi,

Thanks for your inquiry.
Do you use PdfViewer control of Spire.PDFViewer for ASP? I tested the control and all options in the zoom options worked correctly.
To help us reproduce your issue, please provide us with your test project.
Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Tue Dec 15, 2015 8:18 am

Hi,

Sorry for the delay. I send by email the link of mega for download de proyect, it's a test proyect but in this
the options in the zoom doesn't work.


Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Tue Dec 15, 2015 8:55 am

Hi,

Thanks for your providing.
I ran your project but didn't recreate your issues, all zoom options worked fine, attached my viewing results.
I viewed it in firefox browser.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Tue Dec 15, 2015 11:13 am

Hi!

I proved it in Mozilla Firefox, Google Crome and Internet Explorer but all of them the zoom options didn't work, attached my result.

I detected that in the zoom options that the value is "isNaN"(50%,75%,125% and 150%), the size of image doesn't change but
the resolution is worst.

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Wed Dec 16, 2015 8:07 am

Hi,

Thanks for your feedback.
Do you have the same results when you viewing "tabla.pdf" and "traducido.pdf" in your PDFViewerForASP application?
If so, please tell us your system environment.
If you have the issue just when you view the pdf file showing in your result, please provide us the pdf file.

Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Dec 16, 2015 10:23 am

Hi,

I have the same result with the documents tabla.pdf and traducido.pdf, and with the methods 'loadfromstream' and 'loadfromfile'.

Local:

S.O: Windows 7
Google Crome v.47.0.2526.80
Mozilla Firefox v.43.0
Internet Explorer v.11.0.9600.71633

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Wed Dec 16, 2015 12:05 pm

Hi!


The error is in the value of options. When I debugged, in the console of browser I changed the value '0,5' for '0.5', and option for the zoom '50%' worked fine. Attached my result.

All the options that have like separator ',' for the decimal doesn't work.

Can I change this values?.

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Thu Dec 17, 2015 2:07 am

Hi,

Please add the two lines before viewing pdf file.

Code: Select all
 CultureInfo cc = Thread.CurrentThread.CurrentCulture;
         Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;


Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Dec 17, 2015 8:24 am

Hi,

After adding the two lines and the problem has already resolved.

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Thu Dec 17, 2015 9:03 am

Hi,

Thanks for your feedback.
Welcome to write to us again for further problems.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDFViewer