Loading...

How to view an image with Visual Fox Pro

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

How to view an image with Visual Fox Pro

Postby 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.
Hochman
 
Posts: 6
Joined: Fri Aug 10, 2007 11:09 pm
Location: NY, USA

Re: How to view an image with Visual Fox Pro

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest