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.

Aspose.BarCode for C++ supports most of the popular barcode symbologies, including but not limited to, QR Code, Aztec, Data Matrix, ISBN, code 39 and 93, PDF417, UPC, EAN, and GS1 DataMatrix.

Barcode Generation Features

  • Write 1D & 2D barcode types of 50+ symbologies.
  • Customize barcode text, style & formatting.
  • Support of X-dimension & Y-dimension for 2D barcodes.
  • Support of wide to narrow ratio for selective symbologies.
  • Exceptional optimization of Code128 encoding.
  • Save barcode labels as images of popular formats including PNG, JPG, BMP and more.
  • Encode non-english characters in 2D types.

Barcode Scanning Features

Barcode Imaging Features

  • Customize the barcode image's borders, border color, style, margins, width and so on.
  • Customize barcode image's color, back color and bar color.
  • Rotate barcode images to any angle.
  • Generate high-quality barcode images with custom resolution.
  • Support for anti-Aliasing.
  • Create barcode images in any desired image format like BMP, JPEG, GIF, PNG, TIFF.
  • Create device resolution dependent images.

Supported Barcode Symbologies

Numeric Only: EAN13, EAN8, UPCA, UPCE, ISBN, ISMN, ISSN, Interleaved2of5, Standard2of5, MSI, Code11, Codabar, Postnet, Planet, EAN14(SCC14), SSCC18, ITF14, IATA2of5, DatabarOmniDirectional, DatabarStackedOmniDirectional, DatabarExpandedStacked, DatabarStacked, DatabarLimited, DatabarTruncated
Alpha-Numeric: GS1Code128, Code128, Code39 Extended, Code39 Standard, Code93 Extended, Code93 Standard, Australia Post, Italian Post 25, Matrix2of5, DatabarExpanded. PatchCode
2D Symbologies: PDF417, DataMatrix, Aztec, QR, MicroQR, GS1DataMatrix, Code16K, CompactPDF417, Swiss QR (QR Bill)

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);

Product Page | Documentation | API Reference | Code 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.

Aspose.BarCode for C++ supports most of the popular barcode symbologies, including but not limited to, QR Code, Aztec, Data Matrix, ISBN, code 39 and 93, PDF417, UPC, EAN, and GS1 DataMatrix.

Barcode Generation Features

  • Write 1D & 2D barcode types of 50+ symbologies.
  • Customize barcode text, style & formatting.
  • Support of X-dimension & Y-dimension for 2D barcodes.
  • Support of wide to narrow ratio for selective symbologies.
  • Exceptional optimization of Code128 encoding.
  • Save barcode labels as images of popular formats including PNG, JPG, BMP and more.
  • Encode non-english characters in 2D types.

Barcode Scanning Features

Barcode Imaging Features

  • Customize the barcode image's borders, border color, style, margins, width and so on.
  • Customize barcode image's color, back color and bar color.
  • Rotate barcode images to any angle.
  • Generate high-quality barcode images with custom resolution.
  • Support for anti-Aliasing.
  • Create barcode images in any desired image format like BMP, JPEG, GIF, PNG, TIFF.
  • Create device resolution dependent images.

Supported Barcode Symbologies

Numeric Only: EAN13, EAN8, UPCA, UPCE, ISBN, ISMN, ISSN, Interleaved2of5, Standard2of5, MSI, Code11, Codabar, Postnet, Planet, EAN14(SCC14), SSCC18, ITF14, IATA2of5, DatabarOmniDirectional, DatabarStackedOmniDirectional, DatabarExpandedStacked, DatabarStacked, DatabarLimited, DatabarTruncated
Alpha-Numeric: GS1Code128, Code128, Code39 Extended, Code39 Standard, Code93 Extended, Code93 Standard, Australia Post, Italian Post 25, Matrix2of5, DatabarExpanded. PatchCode
2D Symbologies: PDF417, DataMatrix, Aztec, QR, MicroQR, GS1DataMatrix, Code16K, CompactPDF417, Swiss QR (QR Bill)

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);

Product Page | Documentation | API Reference | Code 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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
19.9.0 143 9/18/2019
19.7.0 116 7/31/2019
19.5.0 158 5/30/2019
19.4.0 155 4/26/2019
19.2.0 154 2/28/2019
19.1.0 161 1/31/2019
18.12.0 316 12/7/2018
18.11.0 318 11/16/2018
18.6.0 527 7/12/2018