TwainConstantsgetCapCode Method |
Gets the code of the cap corresponding to the given name.
Namespace: asprise_imaging_apiAssembly: 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
)
Public Shared Function getCapCode (
capName As String
) As Integer
public:
static int getCapCode(
String^ capName
)
static member getCapCode :
capName : string -> int
Parameters
- capName
- Type: SystemString
e.g., ICAP_PIXELTYPE
Return Value
Type:
Int32cap code (e.g., 0x0101) or -1 if not found.
See Also