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(
: 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
| Exception | Description |
| Thrown if command parameters are NOT correct. |
Browser Compatibility
See Also