Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Fri Jun 30, 2017 3:34 pm

Hi,
I'm trying to create a rectangular DataMatrix with two blocks (16x48 modules).
Is that possible?

Thanks

stefano.cocco
 
Posts: 1
Joined: Fri Jun 30, 2017 2:34 pm

Mon Jul 03, 2017 8:48 am

Hello,

Thanks for your inquiry.
So sorry that the feature you need is not available at present. Never mind, I have referred the functionality to our dev team as a new feature schedule. Once there's any update, we will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Oct 31, 2017 8:35 am

Hello,

Sorry for the long silence.
Now the creating of rectangle DataMatrix is available in Spire.BarCode(Hot Fix) Version:1.4.11. Below is the code for your reference.
Code: Select all
BarcodeSettings barCodeSetting = new BarcodeSettings();
            barCodeSetting.Type = BarCodeType.DataMatrix;
            barCodeSetting.BackColor = Color.WhiteSmoke;
            barCodeSetting.ShowText = true;
            barCodeSetting.X = 5;
            barCodeSetting.HasBorder = true;
            barCodeSetting.DataMatrixSymbolShape = DataMatrixSymbolShape.Rectangle;
            barCodeSetting.Data = "ABC 123456789ABC 123456789ABC 123456789";
            barCodeSetting.Data2D = "ABC 123456789ABC 123456789ABC 123456789";
            BarCodeGenerator generator = new BarCodeGenerator(barCodeSetting);
            Image barcode = generator.GenerateImage();
            barcode.Save("10994.png", System.Drawing.Imaging.ImageFormat.Png);


Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Wed Nov 01, 2017 8:41 am

Hi stefano.cocco,

Greetings from E-iceblue!
Has your issue got resolved by the hotfix? Your feedback will be greatly appreciated.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.BarCode