Free Support Forum - groupdocs.com

Problem with zoom level- fit height

Hi! I have a problem. When I try to set from the Zoom Level Menu, Fit Height item, the page seems not to be resized correctly.

I try to get the zoom level with the following code snippet:
containerElement.groupdocsViewer(“on”, “zoomSet.groupdocs”; …
and I found that the zoom is of 1,78.
If I try with Fit Width, I have a zoom of 100.
What is wrong? I thought with “FitHeight” to have 2 page in a row or at least to have zoom of 100 like “FitWidth”.

Thank you.

Hello Gianluca,

Please give us a source code of the GroupDocs.Viewer widget. It will help our developers see what is actually happening.

Thanks.