How to view an image with Visual Fox Pro

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
Hochman
Posts: 6
Joined: Fri Aug 10, 2007 11:09 pm
Location: NY, USA
Contact:

How to view an image with Visual Fox Pro

Post by Hochman » Tue Mar 11, 2008 6:06 pm

Hi,

I'm using VFP and I've successfully scanned an image. What do I do to display/print that image within VFP?

Thanks.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: How to view an image with Visual Fox Pro

Post by Loïc » Sun Mar 16, 2008 7:39 pm

Hi,

You can do that using GdTwain Pro mixing the Twain class & the GdViewer class:

Draw a GdViewer object into your form and use this kind of code:

Code: Select all

Thisform.GdViewer1.SetNativeImage(Thisform.Twain1.GetNativeImage())
Thisform.GdViewer1.PrintImage()
...

Best regards,

Loïc Carrère

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests