Aspose.BarCode for C++ is a robust and reliable barcode generation and recognition library, written in C++14, it allows developers to quickly and easily add barcode generation and recognition functionality to their applications. Aspose.BarCode for C++ supports most established barcode standards and barcode specifications. It has the ability to export to multiple image formats including: BMP, GIF, JPEG, PNG, TIFF and SVG.
$ dotnet add package Aspose.BarCode.Cpp
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.BarCode for C++ enables the developers to generate, scan, and manipulate barcodes from within their own C++ applications. C++ Barcode Library allows you to modify and customize barcode properties including font, foreground & background colors, alignment, barcode label location, and barcode caption.
Aspose.BarCode for C++ is an on premise API to add the functionality of barcode scanning, recognition, generation, and conversion to your existing or new C++ applications. Aspose.BarCode has the capability to work with 40+ different barcode symbologies without requiring any 3rd party software installation. Aspose.BarCode for C++ supports barcodes of various file formats such as, JPEG, SVG, PNG, EMF, EXIF, etc. Along with generating high-quality numeric, alpha-numeric and 2D barcodes, you can also customize and control the appearance of the generated barcodes; such as, CodeText, captions, dimensions, aspect ratio, and more. Apply checksum validation on specific symbologies.
Aspose.BarCode for C++ also assists you in scanning, reading and recognizing barcodes in an efficient manner via multi-threading. It can recognize barcode symbologies and fetch the CodeText. You can also detect multiple symbologies present in a single picture or perform barcode recognition on a page with mixed text and images.
Aspose.BarCode for C++ is completely written in C++ and exposes a simple set of C++ classes that allow you to create barcodes at the backend, while also providing GUI based controls to display barcodes in Windows Forms and Web Forms.
PDF417 Barcode, set error correction level, and compaction mode.MacroPdf417 barcodes.C40 or Text encoded Datamatrix barcodes with default or custom encoding mode.JPEG, TIFF, PNG, BMP, GIF, EXIF
EMF, SVG
You can execute the below code snippet to see how Aspose.BarCode API works in your development environment. You may also check the GitHub Repository for other common usage scenarios.
// instantiate barcode object and set CodeText & Barcode Symbology
System::SharedPtr<BarcodeGenerator> generator
= System::MakeObject<BarcodeGenerator>(EncodeTypes::Code128, u"1234");
generator->Save(dir + u"output.png");
Aspose.BarCode for C++ allows you to customize various properties of barcodes, such as borders, color, type, bar height as well as barcode text. The following example shows, how simple it is to hide the barcode text using C++:
System::String codeText = System::String(u"The quick brown fox jumps over the lazy dog\n")
+ u"The quick brown fox jumps over the lazy dog\n";
// instantiate barcode object and set CodeText, Symbology , and CodeLocation
System::SharedPtr<BarcodeGenerator> generator = [&]
{
auto tmp_0 = System::MakeObject<BarcodeGenerator>(EncodeTypes::DataMatrix, codeText);
tmp_0->get_Parameters()->get_Barcode()->get_CodeTextParameters()->set_Location(
CodeLocation::None);
return tmp_0;
}();
generator->Save(dir + u"output.png", BarCodeImageFormat::Png);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License