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.
Alberto