Free Support Forum - groupdocs.com

Two questions for ASP.NET_MVC_FRONT_END sample code

  1. Is it possible to change the size of the screen or change the document’s showing size (width or height)?

    2. Right now, It works in this way.
    We open the app_data directory first, get the document list, select one and click it, then the document will be converted and show it on the screen in thumbnail and full page.

    Is it possible to put the mouse cursor over a file item in the list and this will cause the file to be open in a short time, instead of clicking it?

Hi Yuan,


Thanks for using GroupDocs.Viewer for .NET .

I am writing inline answers of your questions.

1. Is it possible to change the size of the screen or change the document’s showing size (width or height)?

ASP.NET MVC Front End is a responsive application and the width of the viewer changes automatically according to the size of the screen. However, if you want to change the height of the viewer then you can use height in JavaScript parameters as below:

height: 900;

Is it possible to put the mouse cursor over a file item in the list and this will cause the file to be open in a short time, instead of clicking it?

Yes it can be possible if you make appropriate changes in the JavaScript. As the application is open source, you can feel free to modify its features as per your requirements.


Warm Regards