VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
Vintasoft.Twain Namespace / WebAcquiredImageJS type / isBlank Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
isBlank Method
In This Topic
Returns a value indicating whether an image is blank.
Syntax
var instance = new Vintasoft.Twain.WebAcquiredImageJS(twainDeviceManager, imageId, imageInfo);

var value; // Type: Vintasoft.Twain.WebAcquiredImageIsBlankResultJS

// Parameters
var maxNoiseLevel; // Type: number

value = instance.isBlank(maxNoiseLevel);

Parameters

maxNoiseLevel
Maximum possible value of noise in image in percents. Optimal value is 0.01 (%).

Return Value

An instance of WebAcquiredImageIsBlankResultJS class.
Exceptions
ExceptionDescription
Thrown if argument has wrong type OR image is in processing now OR image processing is failed.
Remarks

This function sends a synchronous request to check whether an image is blank. If you want to use asynchronous request instead of synchronous request, please use WebAcquiredImageJS.isBlankAsync function.

Browser Compatibility
9
See Also