The leading provider of version control solution and TWAIN SDK

How to load images into Dynamic Web TWAIN?

If you are loading a multi-page image file, you should set the maximum number of images that can be held in Dynamic Web TWAIN by using the MaxImagesInBuffer property. Then you can use the LoadImage method or the LoadImageEx method to load images into Dynamic Web TWAIN (DWT).

Code:

//JavaScript
function btnLoad_onclick()
{
     frmScan.DynamicWebTwain1.LoadImage("G:\\wwwroot\\test.tiff"); 
}

Please make sure that the image file is created by DWT or Dynamic TWAIN (DT). Currently, we only ensure that images created by DWT or DT can be loaded into DWT.

Reference:

MaxImagesInBuffer LoadImage  LoadImageEx




Article Details

Last Updated
7th o November, 2008

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

Attachments

No attachments were found.

Visitor Comments

  1. Comment #1 (Posted by Jorge Zepeda )
    Does the latest version of DWT's LoadImageEx handles PDF files? LoadImageEx("c:\file.pdf", 4)
  2. Comment #2 (Posted by support )
    "Does the latest version of DWT's LoadImageEx handles PDF files? LoadImageEx("c:\file.pdf", 4)" Yes. Please refer to: http://www.dynamsoft.com/help/TWAIN/WebTwain/method%20LoadImageEx.htm

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue