VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebReplaceColorCommandJS type / set_ColorSpace Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_ColorSpace Method
    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(
    value
    An instance of WebColorSpaceTypeEnumJS class. Default value is "sRGB".
    : WebColorSpaceTypeEnumJS
    ) : any;

    Parameters

    value
    An instance of WebColorSpaceTypeEnumJS class. Default value is "sRGB".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if argument is not sRGB and not CIELab.
    Browser Compatibility
    56+
    45+
    11
    See Also