Acquires one image from a TWAIN source.
flags
Indicates whether to display the manufacturer's user interface.
One of the DialogResult values. If an error occurs, an exception is thrown.
Use the Acquire method to acquire one or more images. Use the AcquireFast method to acquire one or more images and save them to one or more files. The number of pages to acquire can be determined by getting the TWAIN source's capabilities. To change the number of pages to acquire, set the appropriate capability to the desired number. This method will get images from the selected TWAIN source and pass them into an RasterImage object to the AcquirePage event through the TwainAcquirePageEventArgs class. For each image acquired by the currently selected TWAIN source, an AcquirePage event is generated. The Acquire method acquires pages in the following transfer modes:
To set the transfer mode, call SetCapability with the appropriate capability constant. For more information, refer to How to Acquire from the Twain Source.
Products |
Support |
Feedback: AcquireToImage Method - Leadtools.Twain |
Introduction |
Help Version 19.0.2017.3.22
|