Aspose.BarCode.Cpp 19.9.0

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.

Install-Package Aspose.BarCode.Cpp -Version 19.9.0
dotnet add package Aspose.BarCode.Cpp --version 19.9.0
<PackageReference Include="Aspose.BarCode.Cpp" Version="19.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.BarCode.Cpp --version 19.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Barcode Generation & Scanning API for C++

Aspose.BarCode for C++ enables the developers to generate, scan and manipulate barcodes from within their own C++ applications. C++ Barcode Library allows to modify and customize barcode properties including font, foreground & background colors, alignment, barcode label location and barcode caption.

Barcode Generation Features

  • Generate barcode images programmatically.
  • Create a PDF417 Barcode, set error correction level, and compaction mode.
  • Generate multiple MacroPdf417 barcodes.
  • Create C40 or Text encoded Datamatrix barcodes with default or custom encoding mode.
  • Create QR and MicroQR barcodes and perform encoding.
  • Supports error correction for various types of barcodes.
  • Generate barcodes with logo or other images inside instead of CodeText.
  • Hide CodeText that is too long or reduce the font size of CodeText.
  • Adjust image size of 2D barcodes and set aspect ratio.
  • Detect Unicode encoding of barcodes.
  • CodeText can be set as per the associated symbology type and the outbound part is truncated.
  • Enable image border, modify barcode image border width and style.
  • Option to colorize barcode, code text, barcode background, barcode border, and caption.
  • Specify size unit for the barcode image in document, inch, millimeter, pixel, and point.
  • Enable checksum for the barcodes of applicable symbologies.
  • Lots of other barcode processing features.

Supported Barcode Symbologies

Generation & Recognition: Code128, Code39 Standard, Code39 Extended, Code93 Standard, Code93 Extended, Code11, Codabar, BooklandEAN, EAN13, EAN8, EAN128, Interleaved2of5, Standard2of5, MSI, Postnet, Planet, UPCA, UPCE, EAN14(SCC14), SSCC18, ITF14, BarCode supplement, Pdf417, QR, Datamatrix, Matrix 2 of 5, PZN (Pharma Zentral Nummer, Pharmazentralnummer barcode), Deutsche Post Identcode

Generation Only: Aztec, Australia Post

Read & Write Barcode Labels

Images: JPEG, TIFF, PNG, BMP, GIF, EXIF

Save Barcode Labels As

Images: EMF, SVG

Generate Code128 Barcode in PNG Format

You can execute 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");

Hide Barcode Label Text using C++

Aspose.BarCode for C++ allows you to customize various properties of barcodes, such as, borders, color, type, bar height as well as barcode text. 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);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Barcode Generation & Scanning API for C++

Aspose.BarCode for C++ enables the developers to generate, scan and manipulate barcodes from within their own C++ applications. C++ Barcode Library allows to modify and customize barcode properties including font, foreground & background colors, alignment, barcode label location and barcode caption.

Barcode Generation Features

  • Generate barcode images programmatically.
  • Create a PDF417 Barcode, set error correction level, and compaction mode.
  • Generate multiple MacroPdf417 barcodes.
  • Create C40 or Text encoded Datamatrix barcodes with default or custom encoding mode.
  • Create QR and MicroQR barcodes and perform encoding.
  • Supports error correction for various types of barcodes.
  • Generate barcodes with logo or other images inside instead of CodeText.
  • Hide CodeText that is too long or reduce the font size of CodeText.
  • Adjust image size of 2D barcodes and set aspect ratio.
  • Detect Unicode encoding of barcodes.
  • CodeText can be set as per the associated symbology type and the outbound part is truncated.
  • Enable image border, modify barcode image border width and style.
  • Option to colorize barcode, code text, barcode background, barcode border, and caption.
  • Specify size unit for the barcode image in document, inch, millimeter, pixel, and point.
  • Enable checksum for the barcodes of applicable symbologies.
  • Lots of other barcode processing features.

Supported Barcode Symbologies

Generation & Recognition: Code128, Code39 Standard, Code39 Extended, Code93 Standard, Code93 Extended, Code11, Codabar, BooklandEAN, EAN13, EAN8, EAN128, Interleaved2of5, Standard2of5, MSI, Postnet, Planet, UPCA, UPCE, EAN14(SCC14), SSCC18, ITF14, BarCode supplement, Pdf417, QR, Datamatrix, Matrix 2 of 5, PZN (Pharma Zentral Nummer, Pharmazentralnummer barcode), Deutsche Post Identcode

Generation Only: Aztec, Australia Post

Read & Write Barcode Labels

Images: JPEG, TIFF, PNG, BMP, GIF, EXIF

Save Barcode Labels As

Images: EMF, SVG

Generate Code128 Barcode in PNG Format

You can execute 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");

Hide Barcode Label Text using C++

Aspose.BarCode for C++ allows you to customize various properties of barcodes, such as, borders, color, type, bar height as well as barcode text. 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);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/barcodecpp/Aspose.BarCode+for+Cpp+19.9+Release+Notes

Dependencies

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.BarCode.Cpp:

Package Downloads
Aspose.Total.Cpp
Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
19.9.0 1,154 9/18/2019
19.7.0 181 7/31/2019
19.5.0 216 5/30/2019
19.4.0 215 4/26/2019
19.2.0 220 2/28/2019
19.1.0 218 1/31/2019
18.12.0 363 12/7/2018
18.11.0 428 11/16/2018
18.6.0 635 7/12/2018