Click or drag to resize

Scanner Class

Scanner objects represent a physical scanner.
Inheritance Hierarchy

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public class Scanner : IproPlusClass, IDisposable

The Scanner type exposes the following members.

Properties
  NameDescription
Public propertyADFMode
This property is used to get or set whether the scanner loads the next sheet of paper automatically or scans ahead if these capabilities are supported and scanning is being done from an ADF.
Public propertyADFStatus
This property returns the status of the ADF and transparency adapter of the scanner.
Public propertyAvailableADFModes
This property returns additional information about the scanner models that have ADF support.
Public propertyAvailableAutoBrightness
This property returns True if the scanner itself or its associated software has the built-in automatic brightness control capability or if the scanner supports grayscale scanning.
Public propertyAvailableColorModes
This property returns the supported color modes of the scanner.
Public propertyAvailableDropouts
This property returns the supported dropout color capabilities of the scanner.
Public propertyAvailableDuplexModes
This property returns the supported duplex modes supported by the scanner.
Public propertyAvailableOrientations
This property returns the supported orientation capabilities of the scanner model.
Public propertyAvailablePaperSources
This property returns the supported paper sources of the scanner.
Public propertyAvailableResolutions
This property returns the available scanning resolutions.
Public propertyAvailableUIModes
This property returns the supported UI modes.
Public propertyBrightnessDefault
This property returns the default brightness value.
Public propertyBrightnessMax
This property returns the number of supported brightness steps of the scanner.
Public propertyColorMode
This property is used to get or set the current color mode.
Public propertyContrastDefault
This property returns the default contrast value.
Public propertyContrastMax
This property returns the number of available contrast steps of the scanner model.
Public propertyDropout
This property is used to get or set the current dropout color.
Public propertyDuplexMode
This property is used to get or set the duplex mode of the scanner.
Public propertyInitialized
This property returns True if the scanner is already initialized.
Public propertyMarginsAdjustable
This property checks whether the margin is adjustable.
Public propertyName
This property returns the unique name of the scanner.
Public propertyOrientation
This property is used to get or set the current orientation mode.
Public propertyPaperSizeAdjustable
This property checks whether the paper size is adjustable.
Public propertyPaperSource
This property is used to get or set the scanner's current paper source.
Public propertyResolution
This property is used to get or set the current scan resolution.
Public propertyScanning
This property returns True if the scanner is scanning.
Public propertySelected
This method displays the selected scanner from the scanner list.
Public propertyVersion
This property returns the version string of the scanner which is returned by the scanning subsystem.
Top
Methods
  NameDescription
Public methodCloneAt
Use this method to modify the settings of a given Scanner in the context of the target SettingManager.
Public methodCopyFrom
This method is used to copy the current values of the same Scanner's settings from the source SettingManager.
Public methodCopyTo
This method is used to copy the current values of the Scanner's settings to the target SettingManager.
Public methodDispose
Releases all resources used by the Scanner
Public methodGetADFSize
This method is used to retrieve the maximum ADF scanning area size into the Width and Height parameters, measured in 1/1200 inches.
Public methodGetBrightness
This property is used to get or set the scan brightness value.
Public methodGetContrast
This property is used to get or set the current scan contrast.
Public methodGetEngine
Returns the Engine object.
Public methodGetFlatbedSize
This method is used to retrieve the maximum flat-bed scanning area size into the Width and Height parameters, measured in 1/1200 inches.
Public methodGetPaperSize
This method returns the selected paper size.
Public methodGetScanArea
This method retrieves the current scanning area measured in 1/1200 inches.
Public methodGetScannerSize
This method is used to retrieve the maximum scanning area size into the Width and Height parameters, measured in 1/1200 inches.
Public methodGetStandardPaperSize
This property checks the standard paper size of the scanner.
Public methodGetTransparencySize
This method is used to retrieve the maximum transparency adapter scanning area size into the Width and Height parameters, measured in 1/1200 inches.
Public methodGetUIMode
This method is used to retrieve the current UI mode of the scanner, which can be RSDST_UI_SHOW, RSDST_UI_HIDE or RSDST_UI_ONCE.
Public methodInit
This method initializes the scanner.
Public methodIsPaperSizeSupported
This method returns True if the scanner supports the given paper size.
Public methodLoadSettings
This method loads the settings for a specified scanner from an external file.
Public methodPreloadADF
This method pre-loads paper from a storage bin into the ADF if the scanner supports this capability.
Public methodReleaseScanner
This method releases the previously reserved scanner.
Public methodReloadADF
This method reloads paper back into the ADF from the output tray if the scanner supports this capability.
Public methodReserveScanner
This method reserves the scanner for the IPRO environment.
Public methodResetScanner
This method resets the scanner.
Public methodSaveSettings
This method saves the settings of the particular scanner into an external file.
Public methodScanPages
This method is used to Scan one or more pages.
Public methodSelect
This method is used when selecting a scanner from the available scanner list.
Public methodSetBrightness
This property is used to get or set the scan brightness value.
Public methodSetContrast
This property is used to get or set the current scan contrast.
Public methodSetDefaults
This method sets all scanner settings to the default values.
Public methodSetPaperSize
This method sets the paper size for subsequent scanning operations.
Public methodSetScanArea
This method sets the scanning area of the scanner.
Public methodSetUIMode
This method is used to set the UI mode of the scanner, which can be RSDST_UI_SHOW, RSDST_UI_HIDE or RSDST_UI_ONCE.
Public methodSupportedPapers
This property lists the supported paper sizes of the scanner.
Public methodUnloadADF
This method unloads the paper from the ADF if the scanner supports this capability.
Public methodUnselect
Returns the state when no scanner is selected.
Top
Events
  NameDescription
Public eventOnScanContinue
This event is fired when the ScanPages method of the Scanner object or the ScanImage method of the Document object is invoked and the ADF scanning of the current page is finished but more pages are detected in the ADF.
Public eventOnScanFinished
This event is fired when the ScanPages method of the Scanner object or the ScanImage method of the Document object is invoked and the scanning procedure has finished.
Public eventOnScanInitFinished
The Init method fires this event when the initialization procedure is finished.
Public eventOnScanProgress
This event is fired repeatedly during scanning to indicate the progress of the current operation.
Top
Remarks

The Name property uniquely identifies the scanner. Prior to invoking scanner methods or accessing scanner properties, the particular scanner must be initialized calling the Init method. Depending on the scanner model this may take several seconds. Each scanner manages its scanning properties individually. To load or save a scanning profile using external files, invoke the Scanner object you can either scan images into image files - using the ScanPages method - or you can pass the Scanner object to the Document object's ScanImage method to scan pages directly into a particular document.

See Also