PNG JPG BMP TIFF SVG
Aspose.BarCode  for C++
RM4SCC

Read RM4SCC Barcodes with C++

Read Royal Mail 4-State Customer Code (RM4SCC) in C++ using server-side Aspose.BarCode for C++ API

How to Read Royal Mail 4-State Customer Code (RM4SCC) Using C++

To scan Royal Mail 4-State Customer Code (RM4SCC), try Aspose.BarCode for C++ API, a potent and easy-to-use barcode library with rich functionality for C++ platforms. You can download its latest version directly: just open NuGet package manager, search for Aspose.BarCode.Cpp, and install the package. Alternatively, you can run the following command from the Package Manager Console.

Command

  PM> Install-Package Aspose.BarCode.Cpp

Steps for Scanning Royal Mail 4-State Customer Code (RM4SCC) in C++

Aspose.BarCode allows developers to read Royal Mail 4-State Customer Code (RM4SCC) barcodes from stream or image with few lines of code

  • Create an object of Aspose.BarCode.BarCodeReader class
  • Specify the source image path containing Royal Mail 4-State Customer Code (RM4SCC) as a parameter
  • Pass the required barcodes types in DecodeType as the second parameter
  • Loop through the recognition results
  • Load the decoded barcode text using the CodeText property

System Requirements

Aspose APIs are supported on all major platforms and operating systems. Before executing the code sample below, please make sure that your system comply with the following requirements.

  • Microsoft Windows, Linux, or any OS compatible with C++ Runtime Environment for Windows 32-bit, Windows 64-bit, and Linux 64-bit.
  • Aspose.BarCode for C++ DLL referenced in your project.
Ready to recognize Recognizing Drop a file here or click to browse *

* By uploading your files or using the service you agree with our Terms of use and Privacy Policy.

Code to be executed - C++

    
try
{
    // Create instance of BarcodeGenerator class 
    System::SharedPtr<BarCodeReader> reader = System::MakeObject<BarCodeReader>("<file name>", DecodeType::RM4SCC);
    while (reader->Read())
    {
        // Display code text and Symbology Type
        System::Console::WriteLine(System::String(u"CodeText: ") + reader->GetCodeText());
        System::Console::Write(System::String(u"Symbology Type: ") + reader->GetCodeType());
    }
    reader->Close();
}
catch (System::Exception& ex)
{
    System::Console::WriteLine(ex->get_Message());
}

×
Barcode image