WebTwainDeviceAcquireModalResultJS Constructor(WebAcquireModalStateEnumJS,number,WebAcquiredImageJS,string)
In This Topic
Initializes a new instance of the
WebTwainDeviceAcquireModalResultJS class.
Syntax
// Parameters
var acquireModalState; // Type: WebAcquireModalStateEnumJS
var imageAcquiringProgressValue; // Type: number
var acquiredImage; // Type: WebAcquiredImageJS
var errorMessage; // Type: string
var instance = new Vintasoft.Twain.WebTwainDeviceAcquireModalResultJS(acquireModalState, imageAcquiringProgressValue, acquiredImage, errorMessage);
Parameters
- acquireModalState
- An instance of WebAcquireModalStateEnumJS class.
- imageAcquiringProgressValue
- The progress, in percents, of synchronous image acquisition process if acquireModalState == WebAcquireModalStateEnumJS.ImageAcquiringProgress and TransferMode == WebTransferModeEnumJS.Memory.
- acquiredImage
- An instance of WebAcquiredImageJS class if acquireModalState == WebAcquireModalStateEnumJS.ImageAcquired.
- errorMessage
- A string that describes an error if acquireModalState == WebAcquireModalStateEnumJS.ScanFailed.
Browser Compatibility
See Also