Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.BarCode for C++ 24.8 MacOS

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 80.67MB
  • Date Added:
  • 21/8/2024

Description

It contains Aspose.BarCode for C++ 24.8 MacOS release.

File Details

Boost your C++ barcode generation and recognition applications on MacOS with Aspose.BarCode for C++ 24.8 release. We have optimized Australia Post, PZN, and QR code processing in the latest release.

Seamlessly Process Australian Post, Planet, and Postnet Barcodes

The C++ barcode library delivers refined generation of Australia Post, Planet, and Postnet barcodes. Work with enriched AustralianPostShortBarHeight calculation as it is calculated by default as 0.26, and PostalShortBarHeight is calculated as 0.5. This code example illustrates the BarHeight calculation for AustralianPost.


//AustraliaPost barcode generation
System::SharedPtr<BarcodeGenerator> gen = System::MakeObject<BarcodeGenerator>(EncodeTypes::AustraliaPost, u"6212345678AP");
gen->get_Parameters()->get_Barcode()->get_AustralianPost()->set_AustralianPostEncodingTable(Aspose::BarCode::CustomerInformationInterpretingType::CTable);
gen->get_Parameters()->get_Barcode()->get_BarHeight()->set_Pixels(100.0f);

// If short bar is not specified, it is scaled to 0.26 * BarHeight
gen->get_Parameters()->get_Barcode()->get_AustralianPost()->get_AustralianPostShortBarHeight()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Left()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Top()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Right()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Bottom()->set_Pixels(10.0f);
gen->Save(u"AustraliaPost.png", BarCodeImageFormat::Png);

Source*

Supercharged PZN7 and PZN8 Encoding on MacOS

Integrate PZN7 and PZN8 encoding/decoding capabilities into your macOS-based C++ applications. This sample code demonstrates the encoding and decoding of the PZ7 barcodes.


//encode and decode PZN7
System::SharedPtr<BarcodeGenerator> gen = System::MakeObject<BarcodeGenerator>(EncodeTypes::PZN, u"123456");
System::SharedPtr<BarCodeReader> reader = System::MakeObject<BarCodeReader>(gen->GenerateBarCodeImage(), DecodeType::PZN);

for (System::SharedPtr<BarCodeResult> result : reader->ReadBarCodes())
{
    System::Console::WriteLine(result->get_CodeTypeName() + u":" + result->get_CodeText());
}

Source*

Conveniently Recognize Barcodes in C++ Apps

Aspose.BarCode for C++ API version 24.8 allows you to benefit from elevated recognition functionality for QR, MicroQR, and RectMicroQR barcodes, including support for new parameters like QRVersion, MicroQRVersion, RectMicroQRVersion, and QRErrorLevel on macOS.

Code example:


System::SharedPtr<BarcodeGenerator> gen = System::MakeObject<BarcodeGenerator>(EncodeTypes::QR, u"Aspose");
gen->get_Parameters()->get_Barcode()->get_QR()->set_QrVersion(QRVersion::Version15);
gen->get_Parameters()->get_Barcode()->get_QR()->set_QrErrorLevel(QRErrorLevel::LevelM);

System::SharedPtr<BarCodeReader> reader = System::MakeObject<BarCodeReader>(gen->GenerateBarCodeImage(), DecodeType::QR);
reader->ReadBarCodes();

System::Console::WriteLine(u"Codetext: {0}", reader->get_FoundBarCodes()[0]->get_CodeText());
System::Console::WriteLine(u"QR version: {0}", reader->get_FoundBarCodes()[0]->get_Extended()->get_QR()->get_QRVersion());
System::Console::WriteLine(u"Error level: {0}", reader->get_FoundBarCodes()[0]->get_Extended()->get_QR()->get_QRErrorLevel());

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.BarCode for C++ 24.8 Release Notes.

 English