VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceAcquireModalResultJS type / get_ErrorMessage Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    get_ErrorMessage Method
    In This Topic
    Gets a string that describes an error, which occurs during image scanning, if acquireModalState == WebAcquireModalStateEnumJS.ScanFailed.
    var instance = new Vintasoft.Twain.WebTwainDeviceAcquireModalResultJS(acquireModalState, imageAcquiringProgressValue, acquiredImage, errorMessage);
    var value; // Type: string
    value = instance.get_ErrorMessage();
    function get_ErrorMessage() : string;

    Return Value

    A string that describes an error if acquireModalState == WebAcquireModalStateEnumJS.ScanFailed; otherwise, null.
    Browser Compatibility
    See Also