Click or drag to resize
TwainConstantsgetCapCode Method

» Asprise Scan Home · Developer's Guide

Gets the code of the cap corresponding to the given name.

Namespace: asprise_imaging_api
Assembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int getCapCode(
	string capName
)

Parameters

capName
Type: SystemString
e.g., ICAP_PIXELTYPE

Return Value

Type: Int32
cap code (e.g., 0x0101) or -1 if not found.
See Also