VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.DocCleanup Namespace / WebOcrPreprocessingCommandJS type / checkCommandParams Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    checkCommandParams Method
    In This Topic
    Checks command parameters before command execution. Throws an exception if parameters are NOT correct.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.DocCleanup.WebOcrPreprocessingCommandJS();
    
    var value; // Type: boolean
    
    // Parameters
    var image; // Type: WebImageJS
    
    value = instance.checkCommandParams(image);
    
    
    function checkCommandParams(
    image
    Image that should be processed.
    : WebImageJS
    ) : boolean;

    Parameters

    image
    Image that should be processed.

    Return Value

    True if parameters are correct and image will be processed; False if parameters are correct but image processing is NOT necessary because image will NOT be changed.
    Exceptions
    ExceptionDescription
    Thrown if command parameters are NOT correct.
    Browser Compatibility
    56+
    45+
    11
    See Also