Manipulate the image(s)

When you have scanned or loaded images in Dynamic Web TWAIN, you can start manipulating the images. You can:

  1. Go through each image by changing the property CurrentImageIndexInBuffer
        /* Show the 3rd image in the buffer */
        DWObject.CurrentImageIndexInBuffer = 2; 
        
  2. Show multiple images by changing the view mode (other than 1*1 or -1*-1) using SetViewMode()
        /* Show images in buffer with 2 * 2 view */
        DWObject.SetViewMode(2, 2);
        

    image018

  3. Rotate, flip, mirror or crop an image, etc.
        DWObject.Mirror(0);
        DWObject.Flip(1);
        DWObject.RotateRight(2);
        DWObject.Crop(3,101,243,680,831);
        DWObject.RotateLeft(3);
        

    image019

Also, you can remove/delete an image by its index or remove/delete selected or all images at once. The methods are RemoveImage, RemoveAllSelectedImages, RemoveAllImages

Related methods

Is this page helpful?

Leave a Reply

Your email address will not be published.