The Dynamic Web Twain Scan Recognition tool changes the size of the buffer image with Changeimagesize method to change the image size of the dynamic WEB Twain. Note: This image specifically refers to the image of the buffer. Supported versions
ActiveX Edition |
Plug-in Edition |
Mac Edition |
Since V4.1 |
Since V4.1 |
Since V6.4 |
Grammar
Boolean ObjectName. Changeimagesize (short simageindex, long lnewwidth, long lnewheight,
Enuminterpolationmethod Interpolationmethod)
Parameters
Short Simageindex: Specifies the index of the buffer image, starting at 0
Long lwidth: Specifies the pixel width of the new image
Long lheight: Specifies the pixel height of the new image
Enuminterpolationmethod Interpolationmethod: Specifying the method to insert
Allowed Values |
Interpolation Method |
1 |
Nearestneighbor |
2 |
Bilinear |
3 |
Bicubic |
return value
Boolean:true indicates success, false indicates failure
When the Ifthrowexception property is true, an exception is thrown when an error occurs. When you return false or throw an exception, check the ErrorCode property and the ErrorString property for an error message.
Mark
Changeimagesize () Changes the display size of the image and replaces the original image with the new.