VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebReplaceColorCommandJS type / set_NewColor Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_NewColor Method
In This Topic
Sets new color.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebReplaceColorCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: string

returnValue = instance.set_NewColor(value);

Parameters

value
New color. Default value is "rgba(0,0,0,1)".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also