1.选择扫描仪
axImgScan1.ShowSelectScanner();
2.调用扫描仪
if (axImgScan1.OpenScanner() == 0) { if (axImgScan1.ScannerAvailable() == true)//判断扫描仪是否可用 { axImgScan1.MultiPage = true;//是否多页 axImgScan1.Page = axImgScan1.PageCount + 1; axImgScan1.PageOption = PageOptionConstants.AppendPages; axImgScan1.PageCount = axImgScan1.PageCount + 1; axImgScan1.ScanTo = ScanToConstants.DisplayAndFile; axImgScan1.Scroll = true; //第一次扫前设置扫描仪属性 axImgScan1.ShowSetupBeforeScan = true;//是否在扫描前显示设置界面 if (File.Exists(imgpaths))