IRONSOFTWAREHOME
樣式QR碼
using IronBarCode;
using IronSoftware.Drawing;

GeneratedBarcode myQRCode = QRCodeWriter.CreateQrCode("https://ironsoftware.com/");

// Add annotation text above the barcode
myQRCode.AddAnnotationTextAboveBarcode("Your code is: " + myQRCode.Value).SaveAsPng("ironsoftware.png");

// You may add styling with color or logos in the center
var qrCodeLogo = new QRCodeLogo("ironsoftware_logo.png");
GeneratedBarcode myQRCodeWithLogo = QRCodeWriter.CreateQrCodeWithLogo("https://ironsoftware.com/", qrCodeLogo);
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen);

// Logo will automatically be sized appropriately and snapped to the QR grid
myQRCodeWithLogo.SaveAsPng("myQRWithLogo.png");
Imports IronBarCode
Imports IronSoftware.Drawing

Dim myQRCode As GeneratedBarcode = QRCodeWriter.CreateQrCode("https://ironsoftware.com/")

' Add annotation text above the barcode
myQRCode.AddAnnotationTextAboveBarcode("Your code is: " & myQRCode.Value).SaveAsPng("ironsoftware.png")

' You may add styling with color or logos in the center
Dim qrCodeLogo = New QRCodeLogo("ironsoftware_logo.png")
Dim myQRCodeWithLogo As GeneratedBarcode = QRCodeWriter.CreateQrCodeWithLogo("https://ironsoftware.com/", qrCodeLogo)
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen)

' Logo will automatically be sized appropriately and snapped to the QR grid
myQRCodeWithLogo.SaveAsPng("myQRWithLogo.png")
NuGet Download
PM > Install-Package BarCode
樣式QR碼

樣式QR碼

在GitHub上查看

準備好開始了嗎?

Nuget Downloads 2,422,100版本:2026.9剛剛發布

Key in blue circle

立即免費取得 30 天試用金鑰

Your trial license will be sent to your email address

無任何限制。100% 解鎖。無需信用卡。

bullet_checked無需信用卡或建立帳號無任何限制。100% 解鎖。無需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
預訂您的免費即時演示
Booking Badge

全球數百萬工程師信賴

Iron Software的客戶標誌
獲取您的無義務諮詢
完成下方表單或發送電子郵件至sales@ironsoftware.com
您的詳細資訊將始終保密。
全球數百萬工程師信賴
Iron Software的客戶標誌
立即獲取您的30天試用金鑰
無需信用卡或帳戶建立