Skip to content

aspose-barcode/Aspose.Barcode-for-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget GitHub

Barcode Library for C++ Applications

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

Demo applications

Generate Barcode Recognize Barcode Embed Barcode
Generate Recognize Embed

Barcode Generation 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 Images

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

Save Barcode Labels As

Images: EMF, SVG

Generate Code128 Barcode in PNG Format

// 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

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