We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Does Aspose for .NET support rectangular data matrix barcode?

Does Aspose for .NET support rectangular data matrix barcode(e.g. format of 12x36)? I tried to generate 12x36 format of barcode by setting rows to 12 and columns to 36, but still got a square one.

This is my code:

Aspose.BarCode.BarCodeBuilder barcode = new Aspose.BarCode.BarCodeBuilder();
barcode.SymbologyType= Symbology.DataMatrix;

barcode.GraphicsUnit = GraphicsUnit.Pixel;

barcode.Resolution = new Aspose.BarCode.Resolution(96,96.Graphics);
barcode.xDimension = 2;
barcode.yDimension = 2;
System.Text.ASCIIEncoding encoding=new System.Text.ASCIIEncoding();

barcode.DataMatrixEncodeMode = DataMatrixEncodeMode.Full;
barcode.AutoSize = false;
barcode.Rows = 12;

Please let me know if anything wrong with the above code.



Thanks for considering Aspose.

We only support square datamatrix barcodes in the current release. Rectangular datamatrix barcodes are not yet supported.

The issues you have found earlier (filed as 9003) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.