Rotate functionality is not working in zoomed in/zoomed out page

Hi,


Rotate functionality will not work when we try to rotate a page after zoom in/zoom out.

Steps to check

1. Zoom In/Zoom Out any page
2. Try to rotate the same page which is zoomed in/zoomed out. Page will not rotate.

Please help.

Thanks,
Bhaskar V

Hello Bhaskar,


We are sorry to hear that you have such issue. We have tried to reproduce the issue and all work fine for us. Could you please share next data:

1. Which version of the library do you use?
2. Which type of project you use (MVC, WebForms etc.)?
3. Which browser do you use?
4. Do you have any error message in the browser console?

Also will be very helpful if you will provide a code example of the Viewer widget (Viewer.ClientCode())

Hi,


Please check my comments for each point.

1. Which version of the library do you use? - 2.5.5427.23796
2. Which type of project you use (MVC, WebForms etc.)? - WebForms
3. Which browser do you use? - Internet Explorer 8+
4. Do you have any error message in the browser console? - Since all function keys are are disabled, I couldn’t check this

Viewer widget code:

<%=Viewer.ClientCode()
.TargetElementSelector("#dvDocument")
.FilePath(hdnName.Value)
.EnableRightClickMenu(false)
.ShowDownload(false)
.ShowDownloadErrorsInPopup(false)
.ShowFolderBrowser(false)
.ShowPrint(false)
.ShowSearch(false)
.ShowThumbnails(false)
.ShowViewerStyleControl(false)
.SupportPageRotation(true)
.UseHtmlBasedEngine(false)
.ViewerStyle(ViewerMode.ScrollView)
.Quality(100)
.ZoomToFitWidth(true)
.PreloadPagesCount(6)
%>

Please suggest me what can be done.

Thanks,
Bhaskar V

Hello Bhaskar,


Thank you for sharing the data. We have checked your code and found out that you use “UseHtmlBasedEngine(false)”. To resolve the issue please change “UseHtmlBasedEngine” parameter to true.

Hello Bhaskar,

Sorry to interfere in yours conversation, but the issue when rotation is not working when the zoom factor was changed - this is a well-known bug and it was fixed in the latest version of GroupDocs.Viewer 2.6.0. You said that you are using 2.5.5427.23796, so in order to solve the issue once and for all, please update the library, which can be found here.

Thanks.

Hi,


Including new version dll solved the issue. Thanks for your help.

Thanks,
Bhaskar V