TwainAcquireToMemoryFile(String,IntPtr) Method
Acquires a single image, from the currently selected Data Source to a file.
This method uses the memory transfer mode.
This method is ideal to reach the best transfer rate of the acquisition device.
The output image compression should be negotiated with the TwainSetCompression() method.
'Declaration
Public Overloads Function TwainAcquireToMemoryFile( _
ByVal As String, _
ByVal HANDLE As IntPtr _
) As GdPictureStatus
Parameters
- FilePath
- The path of the image file to create.
- HANDLE
- A Window Handle IE: Me.Handle. In most applications you can use nothing but
on Citrix and WTS, this must be a top-level window or a child of a top level
window.
Return Value
A member of the GdPictureStatus enumeration.