谁能救救我!(40分)

X

xiniu79

Unregistered / Unconfirmed
GUEST, unregistred user!
在Delphi中调用twain.dll的什么方法可以对高速扫描仪的高速扫描进行选择和操作啊!
哪个函数是关键呀!难道人能告诉我吗?
//扫描
Procedure TForm1.ScanImg;
begin
scanner.OpenScanner;
if not Scanner.ScannerAvailable then
begin
MessageBox(Handle,'扫描仪没准备好','警告',MB_OK+MB_ICONWARNING);
Exit;
end
else
try
begin
Scanner.Image:=ExtractFilePath(application.Name)+'99.bmp';
scanner.zoom:=100;
Scanner.StartScan;
Application.ProcessMessages;
end;
finally
Scanner.CloseScanner;
Image1.AutoSize:=true;
Image1.Top:=(Scrollbox1.Height-Image1.Height) div 2;
Image1.Left:=(Scrollbox1.Width-Image1.Width) div 2;
Image1.AutoSize:=false;
end;
end;
这只能操作平板的,对ADF怎么办哪?希望做过这方面的兄弟相告!!!
手上只有40,以后再加!
 
没搞过,提前
 
看看 Scanner 有什么属性可以控制的。
 
找了,可是没发现有什么可以利用的,还请大家帮忙看看!
 
这里分数很少,有知详情者请到http://www.delphibbs.com/delphibbs/dispq.asp?lid=1499612
那里有200分!
 
多人接受答案了。
 

Similar threads

顶部