Click or drag to resize

QRCodeWriterCreateQrCode Method (String, Int32, QRCodeWriterQrErrorCorrectionLevel)

Renders a QR code from a String of data. UTF-8 fully supported.

Overload methods and methods of the created GeneratedBarcode object allow for barcode sizes and colors to be customized. Logos / Branding may also be added.

Namespace:  IronBarCode
Assembly:  IronBarCode (in IronBarCode.dll) Version: (
public static GeneratedBarcode CreateQrCode(
	string Value,
	int Size = 500,
	QRCodeWriterQrErrorCorrectionLevel ErrorCorrection = QRCodeWriterQrErrorCorrectionLevel.Highest


Type: SystemString
The value of the QR code as a string. Also suitable for URLS.
Size (Optional)
Type: SystemInt32
The width and height of the QR code in pixels.
ErrorCorrection (Optional)
Type: IronBarCodeQRCodeWriterQrErrorCorrectionLevel
The error correction level of the QR code.

Return Value

Type: GeneratedBarcode
A GeneratedBarcode object for the QR code which can be manipulated, annotated and saved to a System.Drawing.Image, an object, image file, PDF, MediaURL or data stream.
See Also