Nuget安装ZXing.Net,帮助类: using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using ZXing; using ZXing.Common; using ZXing.QrCode; using ZXing.QrCode.Internal; namespace CommonHelper { public class BarcodeH
1.工具类:BarCodeHelper(条码生成类),二维码生成类(QRCodeHelper) 2.BarCodeHelper(条码生成类)代码: public class BarCodeHelper { public class Code128 { private readonly DataTable _mCode128 = new DataTable(); ; /// <summary> /// 高度 /// </summary> public uint Height { ge