Dynamic Web TWAIN: How to load images into viewer?

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).

JavaScript Code

function Load() 
  {
     DWObject.LoadImage("G:\\test.tiff"); 
  }

Please make sure that the image file is created by DWT. Currently, we only ensure that images created by DWT can be loaded into DWT. If you want to load existing text-based PDF files into DWT, you will also need the PDF Rasterizer addon.