Information générale
Catégorie:
Contrôles ActiveX en VFP
Yes of course
picture scan is very easy too.
if you want to use from kodak image here is code for you:
oMyForm = CREATEOBJECT("form")
oMyForm.AddObject("oleOutline","olecontrol","Imaging.ScanCtrl.1")
oMyForm.oleOutline.filetype=1 && for tif extension
oMyForm.oleOutline.image="c:\test.tif" && you can get this value from a textbox
oMyForm.oleOutline.multipage=.f.
*oMyForm.oleOutline.page=0
oMyForm.oleOutline.pageoption=1
oMyForm.oleOutline.scanto=2
oMyForm.oleOutline.scroll=.f.
oMyForm.oleOutline.showsetupbeforescan=.T.
oMyForm.oleOutline.stopscanbox=.f.
*oMyForm.oleOutline.showscanpreferences
*oMyForm.oleOutline.showscanpage
oMyForm.oleOutline.openscanner
oMyForm.oleOutline.startscan
oMyForm.oleOutline.closescanner
this is all of things for scan picture.
if you dont want to use from kodak image i have another dll that is free and simple.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement