Barcode XDimension

Hi,


I’ved tried the following code sample to create barcodes with different XDimension setting:

//Instantiate barcode object
BarCodeBuilder bb = new BarCodeBuilder();

//Set the Code text for the barcode
bb.CodeText = “1234567”;

//Set the symbology type to Code128
bb.SymbologyType = Symbology.Code128;

//Set the X-Dimension for the bars of the barcode
bb.xDimension = 0.5f;

//Set the measuring unit of barcode to millimeter
bb.GraphicsUnit = System.Drawing.GraphicsUnit.Millimeter;

//Save the image to your system
//and set its image format to Jpeg
bb.Save(“barcode5.jpg”,
System.Drawing.Imaging.ImageFormat.Jpeg);




I used xDimension 0.3f (barcode3.jpg), 0.5f (barcode5.jpg) and 0.7f (barcode7.jpg).
The resulting images for 0.3 and 0.5 are identical, and also 0.7 doesn’t match with the illustration here: https://docs.aspose.com/barcode/net/customize-barcode-appearance/


I’ve used the latest version.

Hi Andreas,


Thank you for contacting support. We have tested this scenario against the latest build of Aspose.BarCode version 6.5.0. We managed to replicate the issue said. We have logged an investigation under ticket id BARCODENET-33987 in our issue tracking system. Your request has also been linked to this issue. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience you faced.

Hi Andreas,


Thank you for being patient. We have a good news for you that the issue id BARCODENET-33987 has now been resolved. If there is no issue in the QA phase, then its fix will be included in the next version of Aspose.BarCode for .NET 7.0.0. We’ll inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as BARCODENET-33987) have been fixed in Aspose.BarCode for .NET 7.0.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.