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

Free Support Forum - aspose.com

Rectangular DataMatrix

Hi all,

I’m using Aspose.BarCode recently. Use 3.3.0 version.

I try to create a rectangular datamatrix. Format 16x48.
This is my code:

Using wBarCode As BarCodeBuilder = New BarCodeBuilder
wBarCode.SymbologyType = Symbology.DataMatrix
wBarCode.CodeText = CodeText
wBarCode.CodeLocation = CodeLocation.None
wBarCode.Margins.Bottom = 0
wBarCode.Margins.Left = 0
wBarCode.Margins.Right = 0
wBarCode.Margins.Top = 0
wBarCode.Rows = 16
wBarCode.Columns = 48
wBarCode.BorderVisible = False
wBarCode.Save(“C:\datamatrix.jpg”, System.Drawing.Imaging.ImageFormat.Jpeg)
End Using

…but my image is always a square.

Somewthing wrong in code?

Thanks for your replies.


Hi Alberto,

Thanks for considering Aspose.

I am sorry, rectangular datamatrix barcodes are not yet supported. We will notify you when rectangular barcodes support becomes available. Sorry for the inconvenience.

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.