Datalogic .NET SDK
DecodeHandle (Constructor + 1 overload)
Syntax
public DecodeHandle(int dcdNumber);
Description
Constructor to Datalogic.API.DecodeHandle.
A file handle to the device specified by the dcdNumber parameter will be opened.
Parameters Table
|
Type |
Parameter |
Description |
[in] |
int |
dcdNumber |
The device number of the decoding device that the handle will represent. |
|
|
|
|
[on error] |
Exception |
|
Thrown when an error occurs opening the file handle to the decoder. |
Example
{ private DecodeHandle hDcd; public Form1() { InitializeComponent(); InitDecodeEngine(); } public void InitDecodeEngine() { /* The dcdNumber starts from “1”. */ int dcdNumber = 1; hDcd = new DecodeHandle(dcdNumber); }
|
See Also
Decoding System Overview, DecodeException (Class) , Example #001.
Copyright © Datalogic ADC. All Right Reserved