Aspose.BarCode for C++ library allows the developers to add barcode generation & recognition capabilities to their own C++ applciations.
Aspose.BarCode for C++ not only creates barcodes but also can export the generated barcodes to a verity of image formats in high quality. Moreover, the developers can easily manipulate the appearance of the generated barcodes such as background color, bar color, image quality, rotation angle, x-dimension, captions, size, resolution and much more.
Directory | Description |
---|---|
Examples | A collection of C++ examples that help you learn the product features |
Generate Barcode | Recognize Barcode | Embed Barcode |
---|---|---|
- Generate barcode images programmatically.
- Create PDF417 & 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.
- Colorize barcode, code text, barcode background, barcode border, and caption.
- Specify size unit for the barcode image in document, inch, millimeter, pixel, or point.
- Enable checksum for the barcodes of applicable 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
Images: JPEG, TIFF, PNG, BMP, GIF, EXIF
Images: EMF, SVG
// 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");
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 | Search | Free Support | Temporary License