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

var value; // Type: any

// Parameters
var value; // Type: WebImageSizeModeEnumJS

value = instance.setSizeMode(value);

Parameters

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