C# 二维码生成器 ZXing条码生成器
C# 二维码生成器 ZXing条码生成器
C# Code:
BarcodeWriter W = new BarcodeWriter();
W.Format = (BarcodeFormat)Enum.Parse(typeof(BarcodeFormat), txtDecoderType.Text);
W.Options.Width = pictureBox1.Width;
W.Options.Height = pictureBox1.Height;
W.Options.Margin = 0;
pictureBox1.Image = W.Write(txtDecoderContent.Text);
扫一扫加作者微信