Scan images with Imgscan.ocx (transfer)

xiaoxiao2021-03-06  55

Maybe some friends may use OA software that may have to use the function of scanning images, here I briefly say the IMGSCAN.OCX usage.

Imgscan.ocx is available in Winnt's installation directory, which supports TWAIN standards, and general scanners apply.

OCX Control We can also call in C #.

Attributes:

/ / Whether to display the setting interface before scanning

Showsetupbeforeescan

// Where is the scan (fax, file directory, etc.)

Scanto

// Scan the location of the folder

Image

E.g:

Aximgscan1.Image = @ "c: / imgscan / img / imgscan *";

Add *, support bulk scan, can scan multiple images at a time

method:

// Open Scan

OpenScanner ()

// Start scanning

Startscan ()

// End scan

Closecanner ()

转载请注明原文地址:https://www.9cbs.com/read-94009.html

New Post(0)