Reading a Bar Code
Functional Guide | Reference: Read
/////////////////////////////////////////////////////
// This code snippet shows how to read a bar code //
/////////////////////////////////////////////////////
// Image constructor
EImageBW8 srcImage;
// Bar code reader constructor
EBarCode reader;
// String for the decoded bar code
std::string result;
// ...
// Read the source image
result = reader.Read(&srcImage);
'/////////////////////////////////////////////////////
'// This code snippet shows how to read a bar code //
'/////////////////////////////////////////////////////
' Image constructor
Dim srcImage As New EImageBW8
' Bar code reader constructor
Dim reader As New EBarCode
' String for the decoded bar code
Dim result As String
' ...
' Read the source image
result = reader.Read(srcImage)
/////////////////////////////////////////////////////
// This code snippet shows how to read a bar code //
/////////////////////////////////////////////////////
// Image constructor
EImageBW8 srcImage= new EImageBW8();
// Bar code reader constructor
EBarCode reader= new EBarCode();
// String for the decoded bar code
string result;
// ...
// Read the source image
result = reader.Read(srcImage);