猿问

如何获取扫描仪的数据

如何获取扫描仪的数据,最好给个例子谢谢用C#的

素胚勾勒不出你
浏览 535回答 1
1回答

守着一只汪

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;}
随时随地看视频慕课网APP
我要回答