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);
//来源:C/S框架网(www.csframework.com) QQ:1980854898
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);
//来源:C/S框架网(www.csframework.com) QQ:1980854898
扫一扫加作者微信
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网