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.

Thu Aug 21, 2014 2:52 pm

We are using some other barcode generating solutions and our customers are used to labels below the barcode. As far as I've seen, you are generating labels above the barcode.
Is is possible to change the label position?

marko@marg.si
 
Posts: 1
Joined: Thu Aug 21, 2014 12:33 pm

Fri Aug 22, 2014 2:31 am

Hello,

Thanks for your inquiry.
You could set the ShowTextOnBottom property of the BarcodeSettings to true to display the lable below the barcode. The following codes are for your reference.
Code: Select all
BarcodeSettings settings = new BarcodeSettings();
settings.Type = BarCodeType.Code128;
settings.Data = "123456789";
settings.ShowTextOnBottom = true;
BarCodeGenerator generator = new BarCodeGenerator(settings);
var image = generator.GenerateImage();
image.Save("barcode.png");

If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.BarCode