Hi all,
I’m a new user of Aspose.Barcode for .net.
I’m trying to generate a Datamatrix barcode with custom number of rows and column (for example 32x32) and I don’t succeed in setting the dimension of the barcode: I must set size (in pixel) to bigger values than which that I need to obtain an image of the right dimension:
I set
generator.Parameters.Barcode.AutoSizeMode = AutoSizeMode.Nearest;
generator.Parameters.Barcode.BarCodeWidth.Pixels = 240;
generator.Parameters.Barcode.BarCodeHeight.Pixels = 240;
generator.Parameters.Barcode.DataMatrix.Rows = 32;
generator.Parameters.Barcode.DataMatrix.Columns = 32;
and the image of barcode generated is 110x110 (instead of 240x240)
am I not woking in the right way?
Thankyou very much!
Elisa Costa