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.
Thanks for your inquiry. Please change your code: this.barCodeControl1.Font = new Font(fontName, validFontHeight); to the code below: this.barCodeControl1.TextFont = new Font(fontName, validFontHeight); If there are any questions, welcome to get it back to us.