如何獲取掃描儀的數據,最好給個例子謝謝用C#的
1 回答
守著一只汪
TA貢獻1872條經驗 獲得超4個贊
ImageFile imageFile = null;
CommonDialogClass cdc = new WIA.CommonDialogClass();
try
{
??? imageFile = cdc.ShowAcquireImage(WIA.WiaDeviceType.ScannerDeviceType,
??????????????????????????????????? WIA.WiaImageIntent.TextIntent,
??????????????????????????????????? WIA.WiaImageBias.MaximizeQuality,
??????????????????????????????????? "{00000000-0000-0000-0000-000000000000}",
??????????????????????????????????? true,
??????????????????????????????????? true,
??????????????????????????????????? false);
}
catch (System.Runtime.InteropServices.COMException)
{
??? imageFile = null;
}
- 1 回答
- 0 關注
- 572 瀏覽
添加回答
舉報
0/150
提交
取消
