We are trying to replace VSTwain ActiveX control with .NET SDK on our ASPX web application. One of the functionalities that we are using from ActiveX is to do multi-page scanning without showing the UI. Currently this is all JavaScript code using the ActiveX object. Below is the code snippet of the JavaScript code that is currently using the ActiveX object VSTwain.
Code: Select all
VSTwain.tiffMultiPage = true // multi page TIFF file
VSTwain.tiffCompression = 10 // auto detect of best compression algorithm
VSTwain.OpenDataSource()
VSTwain.unitOfMeasure = 0
if (!showUIChk.checked)
{
VSTwain.resolution = scanResolution
VSTwain.pixelType = pixelType;
}
VSTwain.maxImages = 1000;
VSTwain.xferCount = -1;
I want to know how to mimic this code using the Vintasoft JavaScript API. Is there an equivalent of properties like xferCount in the JavaScript API? Is there documentation or examples that I can refer to?
Thanks,
Tony