VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_ImageSizeMode Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_ImageSizeMode Method
In This Topic
Sets a value indicating how an image is positioned within the viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var returnValue; // Type: any

// Parameters
var value; // Type: WebImageSizeModeEnumJS

returnValue = instance.set_ImageSizeMode(value);

Parameters

value
An instance of WebImageSizeModeEnumJS class. Default value is "Normal".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also