Code for barcode in ax :
public BarCodeString getBarcode(str _barCodeText)
{
BarCodeString barCodeString;
Barcode barcode;
barcode = Barcode::construct(BarcodeType::Code128);
barcode.string(true, _barCodeText);
barcode.encode();
barCodeString = barcode.barcodeStr();
return barCodeString;
}
public BarCodeString getBarcode(str _barCodeText)
{
BarCodeString barCodeString;
Barcode barcode;
barcode = Barcode::construct(BarcodeType::Code128);
barcode.string(true, _barCodeText);
barcode.encode();
barCodeString = barcode.barcodeStr();
return barCodeString;
}
No comments:
Post a Comment