文件名称:QR.NET-master
-
所属分类:
- 标签属性:
- 上传时间:2017-12-26
-
文件大小:2.11mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这是一个DOME,直接下载使用,仅实现二维码生成功能,如要增加二维码打印功能可以参考以下代码,如要增加其他功能请自行开发。
Image image = qrCodeEncoder.Encode(strData);
Bitmap printPicture = new Bitmap(image.Width+20, image.Height + 40);
Graphics g = Graphics.FromImage(printPicture);
Rectangle destRect = new Rectangle(10, 10, image.Width, image.Height);
g.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel);
RectangleF layoutRectangle = new RectangleF(0, image.Height + 20, image.Width, 30);
g.DrawString(strCode, font, brush, layoutRectangle);
string filepath = System.Web.HttpContext.Current.Server.MapPath(@"~\attachment")+ "1.png";
System.IO.FileStream fs = new System.IO.FileStream(filepath, System.IO.FileMode.OpenOrCreate,System.IO.FileAccess.Write);
printPicture.Save(fs, System.Drawing.Imaging.ImageFormat.Png);
fs.Close();printPicture.Dispose();(This is a DOME, which is directly downloaded. It only realizes the generation of two-dimensional code. If we want to increase the two-dimensional code printing function, we can refer to the following code, if you want to add other functions, please develop it yourself.)
Image image = qrCodeEncoder.Encode(strData);
Bitmap printPicture = new Bitmap(image.Width+20, image.Height + 40);
Graphics g = Graphics.FromImage(printPicture);
Rectangle destRect = new Rectangle(10, 10, image.Width, image.Height);
g.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel);
RectangleF layoutRectangle = new RectangleF(0, image.Height + 20, image.Width, 30);
g.DrawString(strCode, font, brush, layoutRectangle);
string filepath = System.Web.HttpContext.Current.Server.MapPath(@"~\attachment")+ "1.png";
System.IO.FileStream fs = new System.IO.FileStream(filepath, System.IO.FileMode.OpenOrCreate,System.IO.FileAccess.Write);
printPicture.Save(fs, System.Drawing.Imaging.ImageFormat.Png);
fs.Close();printPicture.Dispose();(This is a DOME, which is directly downloaded. It only realizes the generation of two-dimensional code. If we want to increase the two-dimensional code printing function, we can refer to the following code, if you want to add other functions, please develop it yourself.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
QR.NET-master | ||
QR.NET-master\.gitignore | 41 | 2016-09-26 |
QR.NET-master\Local.testsettings | 427 | 2016-09-26 |
QR.NET-master\QRCodeLib | ||
QR.NET-master\QRCodeLib\AssemblyInfo.cs | 2487 | 2016-09-26 |
QR.NET-master\QRCodeLib\Properties | ||
QR.NET-master\QRCodeLib\Properties\Resources.Designer.cs | 54161 | 2016-09-26 |
QR.NET-master\QRCodeLib\Properties\Resources.resx | 58058 | 2016-09-26 |
QR.NET-master\QRCodeLib\QRCode.NET.gpState | 257 | 2016-09-26 |
QR.NET-master\QRCodeLib\QRCode.NET.xml | 12302 | 2016-09-26 |
QR.NET-master\QRCodeLib\QRCodeDecoder.cs | 15018 | 2016-09-26 |
QR.NET-master\QRCodeLib\QRCodeEncoder.cs | 35906 | 2016-09-26 |
QR.NET-master\QRCodeLib\QRCodeLib.csproj | 16827 | 2016-09-26 |
QR.NET-master\QRCodeLib\QRCodeNET.gpState | 257 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources | ||
QR.NET-master\QRCodeLib\Resources\qrv10_0.dat | 8340 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv10_1.dat | 8339 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv10_2.dat | 8343 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv10_3.dat | 8343 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv11_0.dat | 9732 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv11_1.dat | 9731 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv11_2.dat | 9738 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv11_3.dat | 9735 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv12_0.dat | 11223 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv12_1.dat | 11219 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv12_2.dat | 11226 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv12_3.dat | 11225 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv13_0.dat | 12808 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv13_1.dat | 12803 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv13_2.dat | 12815 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv13_3.dat | 12811 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv14_0.dat | 13993 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv14_1.dat | 13988 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv14_2.dat | 14000 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv14_3.dat | 14000 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv15_0.dat | 15770 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv15_1.dat | 15766 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv15_2.dat | 15778 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv15_3.dat | 15772 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv16_0.dat | 17642 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv16_1.dat | 17638 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv16_2.dat | 17648 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv16_3.dat | 17649 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv17_0.dat | 19611 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv17_1.dat | 19606 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv17_2.dat | 19619 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv17_3.dat | 19616 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv18_0.dat | 21677 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv18_1.dat | 21670 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv18_2.dat | 21685 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv18_3.dat | 21682 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv19_0.dat | 23838 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv19_1.dat | 23831 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv19_2.dat | 23849 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv19_3.dat | 23845 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv1_0.dat | 656 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv1_1.dat | 656 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv1_2.dat | 656 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv1_3.dat | 656 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv20_0.dat | 26096 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv20_1.dat | 26088 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv20_2.dat | 26105 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv20_3.dat | 26100 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv21_0.dat | 27804 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv21_1.dat | 27795 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv21_2.dat | 27812 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv21_3.dat | 27810 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv22_0.dat | 30252 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv22_1.dat | 30244 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv22_2.dat | 30269 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv22_3.dat | 30258 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv23_0.dat | 32797 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv23_1.dat | 32788 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv23_2.dat | 32809 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv23_3.dat | 32804 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv24_0.dat | 35439 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv24_1.dat | 35429 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv24_2.dat | 35451 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv24_3.dat | 35446 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv25_0.dat | 38176 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv25_1.dat | 38167 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv25_2.dat | 38190 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv25_3.dat | 38184 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv26_0.dat | 41010 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv26_1.dat | 40999 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv26_2.dat | 41024 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv26_3.dat | 41021 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv27_0.dat | 43940 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv27_1.dat | 43927 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv27_2.dat | 43955 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv27_3.dat | 43949 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv28_0.dat | 46170 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv28_1.dat | 46157 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv28_2.dat | 46186 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv28_3.dat | 46179 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv29_0.dat | 49292 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv29_1.dat | 49278 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv29_2.dat | 49309 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv29_3.dat | 49302 | 2016-09-26 |
QR.NET-master\QRCodeLib\Resources\qrv2_0.dat | 1109 | 2016-09-26 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.