Dynamic WEB TWAIN Scan recognition tool changes buffer image size

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.