Generate Standard2of5 Code via C++
Create STANDARD 2 OF 5 type barcode in image formats using Aspose.BarCode for C++ APIs.
How to Generate STANDARD2OF5 Barcode Using C++
In order to create STANDARD 2 OF 5 barcode , we’ll use
API which is a feature-rich, powerful and easy to use barcode API for C++ platform. You can download its latest version directly, just open
package manager, search for Aspose.BarCode.Cpp and install. You may also use the following command from the Package Manager Console.
PM> Install-Package Aspose.BarCode.Cpp
Steps to Generate Standard2of5 Code via C++
- Create a new instance of BarcodeGenerator
- Set code text and EncodeTypes as parameters
- Call the BarcodeGenerator.Save method to save barcode as image
Aspose.BarCode for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
- Aspose.BarCode for C++ DLL referenced in your project.
Create STANDARD2OF5 Barcodes - C++
// Create barcode generator System::SharedPtr<BarcodeGenerator> barcodeGenerator = System::MakeObject<BarcodeGenerator>(EncodeTypes::Standard2of5, u"1234567"); barcodeGenerator->get_Parameters()->set_Resolution(300); // Generate barcode and save as image barcodeGenerator->Save(u"output.jpg"); // Use the EncodeTypes as of here Standard 2 of 5 is used
STANDARD2OF5 Barcode Generation Live Demos
Create STANDARD2OF5 Barocdes right now by visiting our Live Demos website.The live demo has the following benefits
About Aspose.BarCode for C++ APIAspose.BarCode is a barcode reader and generation API. It can easily decode and generate 1D, 2D and postal barcodes of multiple symbologies. Developers can easily integrate it in any barcode generation and scanning application. Moreover, Generated barcodes can easily be exported to different high-quality image formats. Its a standalone library and does not require any additional software installation.
Other Supported Barcode Generation Symbologies
Using C++, One can also create barcode of different symbologies including.