AccusoftTwainPro9 ActiveX DLL > TwainPro Object : hDIB Property |
Visual Basic |
---|
Public Property hDIB As Long |
After the assignment, the hDIB property is set to zero, so you must check it by assigning it to a temporary variable as illustrated below. The following example assigns the hDIB to an ImagXpress control:
Dim hDIB as long
hDIB = TwainPRO1.hDIB
if (hDIB <> 0) then
ImagXpress1.hDIB = hDIB
end if