Link to home
Start Free TrialLog in
Avatar of ircpamanager
ircpamanager

asked on

eztwain scanned image size?

am scanning a image to the clipboard and displaying it in a image control in vb6. The scanned image is really large, I do not know how to make image smaller to fit inside image box. The code I have to acquire image is:
Dim s%
TWAIN_SetHideUI (1)
s% = TWAIN_AcquireToClipboard(Me.hwnd, 0)
if s% = 1 Then
Me.image1.Picture = Clipboard.GetData
Me.image1.refresh
else
'do nothing
end if
I am using the eztwain classic dll
Thanks ahead of time.
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ircpamanager
ircpamanager

ASKER

yes, it still only scans a fixed portion of document.