Aspose.BarCode.Cpp
24.12.0
dotnet add package Aspose.BarCode.Cpp --version 24.12.0
NuGet\Install-Package Aspose.BarCode.Cpp -Version 24.12.0
<PackageReference Include="Aspose.BarCode.Cpp" Version="24.12.0" />
paket add Aspose.BarCode.Cpp --version 24.12.0
#r "nuget: Aspose.BarCode.Cpp, 24.12.0"
// Install Aspose.BarCode.Cpp as a Cake Addin #addin nuget:?package=Aspose.BarCode.Cpp&version=24.12.0 // Install Aspose.BarCode.Cpp as a Cake Tool #tool nuget:?package=Aspose.BarCode.Cpp&version=24.12.0
Barcode Generation & Scanning API for C++
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.
What is Aspose.BarCode for C++?
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.
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 a 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 Symbologies for Barcode Generation & Recognition
- BarCode Supplement
- BooklandEAN
- Codabar
- Code11
- Code128
- Code39 Extended
- Code39 Standard
- Code93 Extended
- Code93 Standard
- Datamatrix
- Deutsche Post Identcode
- EAN128
- EAN13
- EAN14(SCC14)
- EAN8
- Interleaved2of5
- ITF14
- Matrix 2 of 5
- MSI
- PDF417
- Planet
- Postnet
- PZN (Pharma Zentral Nummer, Pharmazentralnummer barcode)
- QR
- SSCC18
- Standard2of5
- UPCA
- UPCE
Supported Symbologies for Barcode Generation Only
- Australia Post
- Aztec
Read & Write Barcode Labels
JPEG, TIFF, PNG, BMP, GIF, EXIF
Save Barcode Labels As
EMF, SVG
Generate Code128 Barcode in PNG Format
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");
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. 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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
-
- CodePorting.Translator.Cs2Cpp.Framework (>= 24.12.0)
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 | Downloads | Last updated |
---|---|---|
24.12.0 | 95 | 12/20/2024 |
24.11.0 | 318 | 11/20/2024 |
24.10.0 | 394 | 10/22/2024 |
24.9.0 | 509 | 9/25/2024 |
24.8.0 | 975 | 8/21/2024 |
24.7.0 | 908 | 7/18/2024 |
24.6.0 | 1,223 | 6/21/2024 |
24.5.0 | 1,783 | 5/20/2024 |
24.4.0 | 1,931 | 4/30/2024 |
24.3.0 | 2,352 | 3/27/2024 |
24.2.0 | 439 | 3/6/2024 |
24.1.0 | 4,349 | 1/25/2024 |
23.12.0 | 3,040 | 12/27/2023 |
23.11.0 | 3,291 | 11/28/2023 |
23.10.0 | 3,775 | 10/20/2023 |
23.9.0 | 3,692 | 9/20/2023 |
23.8.0 | 4,154 | 8/21/2023 |
23.7.0 | 4,052 | 7/24/2023 |
23.6.0 | 4,349 | 6/28/2023 |
23.5.0 | 2,689 | 5/25/2023 |
23.4.0 | 3,226 | 4/19/2023 |
23.3.0 | 3,470 | 3/22/2023 |
23.2.0 | 4,158 | 2/22/2023 |
23.1.0 | 3,977 | 1/27/2023 |
22.12.0 | 4,285 | 12/21/2022 |
22.11.0 | 4,996 | 11/24/2022 |
22.10.0 | 5,735 | 10/21/2022 |
22.9.0 | 4,304 | 9/28/2022 |
22.8.0 | 5,077 | 8/19/2022 |
22.7.0 | 5,400 | 7/27/2022 |
22.6.0 | 5,368 | 6/28/2022 |
22.5.0 | 4,559 | 5/20/2022 |
22.2.0 | 12,782 | 2/25/2022 |
22.1.0 | 900 | 1/27/2022 |
21.12.0 | 4,040 | 12/21/2021 |
21.11.0 | 10,568 | 11/25/2021 |
21.10.0 | 5,893 | 10/26/2021 |
21.9.0 | 5,287 | 9/23/2021 |
21.8.0 | 4,500 | 8/24/2021 |
21.7.0 | 4,369 | 7/24/2021 |
21.5.0 | 4,661 | 5/21/2021 |
21.4.0 | 7,133 | 4/22/2021 |
21.3.0 | 4,214 | 3/31/2021 |
19.9.0 | 48,516 | 9/18/2019 |
19.7.0 | 1,042 | 7/31/2019 |
19.5.0 | 996 | 5/30/2019 |
19.4.0 | 1,148 | 4/26/2019 |
19.2.0 | 1,075 | 2/28/2019 |
19.1.0 | 1,172 | 1/31/2019 |
18.12.0 | 1,321 | 12/7/2018 |
18.11.0 | 1,417 | 11/16/2018 |
18.6.0 | 2,178 | 7/12/2018 |