IRONSOFTWAREHOME
QR 코드 생성
using IronBarCode;

// The value of the QR code as a string. Also suitable for URLS
string value = "https://ironsoftware.com/";

// Simplest example of creating a QR Code with no settings
GeneratedBarcode myQRCode = QRCodeWriter.CreateQrCode(value);

// Advanced example with all parameters exclusive to QR codes set:

// The error correction level of the QR code
var correction = QRCodeWriter.QrErrorCorrectionLevel.Highest;

// The width and height of the QR code in pixels
int size = 500;

// QR version.
// Please read https://www.qrcode.com/en/about/version.html to learn more about what QR version is
int qrVersion = 0;

GeneratedBarcode myQRCodeComplex = QRCodeWriter.CreateQrCode(value, size, correction, qrVersion);
Imports IronBarCode

' The value of the QR code as a string. Also suitable for URLS
Dim value As String = "https://ironsoftware.com/"

' Simplest example of creating a QR Code with no settings
Dim myQRCode As GeneratedBarcode = QRCodeWriter.CreateQrCode(value)

' Advanced example with all parameters exclusive to QR codes set:

' The error correction level of the QR code
Dim correction = QRCodeWriter.QrErrorCorrectionLevel.Highest

' The width and height of the QR code in pixels
Dim size As Integer = 500

' QR version.
' Please read https://www.qrcode.com/en/about/version.html to learn more about what QR version is
Dim qrVersion As Integer = 0

Dim myQRCodeComplex As GeneratedBarcode = QRCodeWriter.CreateQrCode(value, size, correction, qrVersion)
NuGet Download
PM > Install-Package BarCode
QR 코드 생성

QR 코드 생성

IronBarcode는 개발자에게 다양한 사용자 정의를 통해 고유한 QR 코드를 생성할 수 있는 직관적이며 사용하기 쉬운 메서드를 제공합니다. 간단한 QR 코드 생성기를 몇 줄의 코드로 찾고 있는 개발자든, QR 코드의 모든 측면(예: 수정 수준, 크기, 버전)을 제어할 수 있는 더 복잡한 생성기를 찾고 있는 개발자든, IronBarcode는 하나의 라이브러리에서 필요한 모든 것을 제공합니다.

라이브러리 IronBarcode를 가져온 후, 먼저 QRCodeWriter 클래스를 인스턴스화한 다음, QRCodeWriter.CreateQrCode를 사용하여 URL의 문자열 값으로 새 QR 코드를 생성합니다. 이 메서드는 기본 설정으로 QR 코드를 생성하는 가장 간단한 방법입니다.

QR 코드의 errorCorrectionLevel를 조정하여 더 많은 사용자 지정을 할 수 있습니다. 이 수준은 QR 코드에 포함된 중복성 또는 오류 복구 데이터의 양과 관련이 있으며, 이를 통해 더 많은 내결함성을 얻고 가혹한 환경에서도 작동할 수 있도록 합니다.

단순히 정수 값을 할당하여 size를 제어합니다. qrVersion (1과 40 사이) 은 QR 코드 버전을 나타냅니다. 저장하려는 데이터의 양과 QR 코드의 용량에 따라, 개발자는 용량과 크기의 균형을 맞추기 위해 미세 조정하여 최적화를 보장할 수 있습니다. QR 코드 버전을 결정하는 방법에 대한 자세한 정보는 여기에서 확인하십시오.

마지막으로, 우리가 설정한 모든 변수와 size, qrVersion, correction를 다시 QRCodeWriter.CreateQrCode 메서드에 전달하여 위에 나열된 모든 속성으로 사용자 정의된 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일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.