VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebThumbnailViewerJS type / setThumbnailSize Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
setThumbnailSize Method
In This Topic
Sets the thumbnail size in thumbnail viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId);

var value; // Type: any

// Parameters
var width; // Type: number
var height; // Type: number

value = instance.setThumbnailSize(width, height);

Parameters

width
Thumbnail width in pixels. Valid values are from 32 to 1024. Default value is 100.
height
Thumbnail height in pixels. Valid values are from 32 to 1024. Default value is 100.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Browser Compatibility
56+
45+
11
See Also