VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebImageScalingCommandJS type / set_Scale Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_Scale Method
In This Topic
Sets scale of the image.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebImageScalingCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_Scale(value);

Parameters

value
Scale of the image. Value must be positive. Default value is 1.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if argument value is not positive.
Browser Compatibility
56+
45+
11
See Also