ASP.NET Web Document Viewer SDK Control

How to set the thumbnail size in thumbnail sidebar

1. Assume you already imported ASP.NET Web Document Viewer SDK Control and Draged the WebDocumentViewer Control to default.aspx html source code.
If not, Please refer ASP.NET 2010 Developer Getting Started or ASP.NET 2019 Developer Getting Started section.


2. use the ThumbnailSize attributes to set the thumbnail size. Now set to 100px, The default value is 205px.




3. press F5 or click the green color arrow icon to run the project.



4. After run the project, you will see the web document viewer. You can click open button to select the image or TIFF or PDF file.



5. After you loaded the image or document, you will see the thumbnail size changed.



6. If you want to changed the width of thumbnail size bar, use the LeftPanelWidth attributes, now set to 200px. The default value is 300px.



7. Finally the width of thumbnail size bar and the thumbnail size is changed.