C# 利用ZXing.Net来生成条形码和二维码

上传者: lwf3115841 | 上传时间: 2023-02-06 10:42:30 | 文件大小: 386KB | 文件类型: ZIP
C#
本文是利用ZXing.Net在WinForm中生成条形码,二维码的小例子,仅供学习分享使用,如有不足之处,还请指正。 什么是ZXing.Net? ZXing是一个开放源码的,用Java实现的多种格式的1D/2D条码图像处理库,它包含了联系到其他语言的端口。而ZXing.Net是ZXing的端口之一。 涉及知识点: BarcodeWriter 用于生成图片格式的条码类,通过Write函数进行输出。继承关系如上图所示。 BarcodeFormat 枚举类型,条码格式 QrCodeEncodingOptions 二维码设置选项,继承于EncodingOptions,主要设置宽,高,编码方式等信息。 MultiFormatWriter 复合格式条码写码器,通过encode方法得到BitMatrix。 BitMatrix 表示按位表示的二维矩阵数组,元素的值用true和false表示二进制中的1和0。

文件下载

资源详情

[{"title":"( 37 个子文件 386KB ) C# 利用ZXing.Net来生成条形码和二维码","children":[{"title":"利用ZXing.Net来生成条形码和二维码.csproj <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"MainForm.resx <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"利用ZXing.Net来生成条形码和二维码.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.csproj.GenerateResource.cache <span style='color:#111;'> 132B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.csproj.AssemblyReference.cache <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.MainForm.resources <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.7.2.AssemblyAttributes.cs <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.csproj.SuggestedBindingRedirects.cache <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"MainForm.Designer.cs <span style='color:#111;'> 23.99KB </span>","children":null,"spread":false},{"title":"BarcodeHelper.cs <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"logo.png <span style='color:#111;'> 15.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"zxing.presentation.xml <span style='color:#111;'> 11.66KB </span>","children":null,"spread":false},{"title":"zxing.dll <span style='color:#111;'> 486.50KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"img","children":[{"title":"logo.png <span style='color:#111;'> 15.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"zxing.presentation.dll <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"zxing.xml <span style='color:#111;'> 629.30KB </span>","children":null,"spread":false},{"title":"利用ZXing.Net来生成条形码和二维码.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Book.cs <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"MainForm.cs <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"QrcodeHelper.cs <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明