IBarCodeDetectorGetBarCodeTypes Method
Gets bar-codes presented in the image.

Namespace: GroupDocs.Metadata
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 19.5
Syntax
string[] GetBarCodeTypes()

Return Value

Type: String
Array of barcode types.
Examples
This example shows how to detect barcodes in Jpeg format
C#
// path to the jpg file
string path = @"C:\\example.jpg";

// initialize JpegFormat
JpegFormat jpegFormat = new JpegFormat(path);

// get barcodes:  UPCA, UPCE, EAN13
string[] barCodes = jpegFormat.GetBarCodeTypes();
See Also