Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SnagIT help

Status
Not open for further replies.

wigwug

Programmer
Feb 13, 2005
35
US
I am looking for a VFP example of using Snagit to capture the contents of a form control in code. I basically need to define a region on a form, capture the image to a BMP or GIF file and save it to disk. Has anyone done this or have an example of the proper syntax.

Thanks

Karl
 
I am looking for a VFP example of using Snagit to capture the contents of a form control in code

Hopefully, this will help get you started. You may also want to go to and download the com server examples and documentation. The examples are not in VFP, but you should be able tot ranslate them easily enough.

Code:
oSnagIt = CREATEOBJECT("SnagIt.ImageCapture.1")
oSnagIt.Input= 4  && siiRegion
oSnagIt.Output = 2  && sioFile
oSnagIt.Capture()

Marcia G. Akins
 
Thanks all! the Capture Button is exactly what I need it is working great!!!!

WigWug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top