How to show-hide Thumbnails and Print file outside button

Hi

  1. We are trying to restrict some tool functions from outside the viewer, so how to show and hide thumbnails from outside the viewer (using two buttons like Enable and Disable). Currently we show or hide thumbnails in the GroupDocs Viewer config parameter (showThumbnails: true or false).

  2. Can we print GroupDocs Viewer content from outside the viewer? The print button is also built‑in. My need is:

    • a. Enable or disable the print button from outside the viewer, similar to the thumbnails above.
    • b. When the external button is clicked, print the content of the viewer without the viewer tools. I tried in my own code but it prints the tools as well. See the screenshot: http://prntscr.com/3ywgbs
  3. Is it possible to add rotate‑page functionality? All viewers have rotate functions like “Rotate CounterClockwise” and “Rotate Clockwise”.

Regards
Aravind

Hello Aravin,

Thank you for your request. To investigate how to achieve functionality you needed please check “GroupDocsViewerMVCDemo” sample from the package which can be downloaded here - http://groupdocs.com/Community/files/8/.net-libraries/groupdocs_viewer_for_.net/category1001.aspx

In this sample you will find how to manipulate the Viewer with JavaScript and HTML


If you will have more questions please feel free to contact us.