'Declaration
Public Function TwainAcquireToDib( _ ByVal HANDLE As IntPtr _ ) As IntPtr
public IntPtr TwainAcquireToDib( IntPtr HANDLE )
public function TwainAcquireToDib( HANDLE: IntPtr ): IntPtr;
public function TwainAcquireToDib( HANDLE : IntPtr ) : IntPtr;
public: IntPtr TwainAcquireToDib( IntPtr HANDLE )
public: IntPtr TwainAcquireToDib( IntPtr HANDLE )
Parameters
- 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
0: The bitmap could not created. Use the GetStat(), TwainGetLastResultCode() and
TwainGetLastConditionCode() methods for diagnosing the error.
Non-zero: DIB handle. This handle must be subsequently released using the MemoryUtils.Free() method.