VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebGetImageColorDepthCommandJS type / set_DetectIndexed1 Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_DetectIndexed1 Method
    In This Topic
    Sets a value indicating whether to check that an image is a palette image with 2 colors.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebGetImageColorDepthCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: boolean
    
    returnValue = instance.set_DetectIndexed1(value);
    
    
    function set_DetectIndexed1(
    value
    True - command must check that an image is a palette image with 2 colors; False - command must NOT check that an image is a palette image with 2 colors. Default value is True.
    : boolean
    ) : any;

    Parameters

    value
    True - command must check that an image is a palette image with 2 colors; False - command must NOT check that an image is a palette image with 2 colors. Default value is True.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also