In This Topic
Sets color space where colors are compared.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebReplaceColorCommandJS();
var returnValue; // Type: any
// Parameters
var value; // Type: WebColorSpaceTypeEnumJS
returnValue = instance.set_ColorSpace(value);
function set_ColorSpace(
: WebColorSpaceTypeEnumJS
) : any;
Parameters
- value
- An instance of WebColorSpaceTypeEnumJS class. Default value is "sRGB".
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if argument is not sRGB and not CIELab. |
Browser Compatibility
See Also