it技術:dotnet:qrcoder
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
it技術:dotnet:qrcoder [2018/05/13 22:44] – [QRコード生成] yajuadmin | it技術:dotnet:qrcoder [2018/05/20 00:56] (現在) – [QRコード生成] yajuadmin | ||
---|---|---|---|
行 8: | 行 8: | ||
===== QRコード生成 ===== | ===== QRコード生成 ===== | ||
- | 下記コードで qrCode.GetGraphicの第一引数は、pixelsPerModuleで、 1 なら 45 x 45 pixcel、20 なら 900 x 900 pixcel | + | 下記コードで qrCode.GetGraphicの第一引数は、pixelsPerModuleで、 1 なら 45 x 45 pixel、20 なら 900 x 900 pixel で生成される。 |
<code csharp> | <code csharp> | ||
+ | using QRCoder; | ||
+ | using System.Drawing; | ||
+ | using System.Drawing.Imaging; | ||
+ | |||
string code = " | string code = " | ||
QRCodeGenerator qrGenerator = new QRCodeGenerator(); | QRCodeGenerator qrGenerator = new QRCodeGenerator(); |
it技術/dotnet/qrcoder.1526219041.txt.gz · 最終更新: 2018/05/13 22:44 by yajuadmin