In This Article

QrCodeSymbology Class

Represents a barcode symbology implementation for QR Code.

public class QrCodeSymbology : QrCodeSymbologyBase
Inheritance:
object ObservableObjectBase BarcodeSymbologyBase QrCodeSymbologyBase object

Remarks

This symbology is also known as Quick Response Code.

QR Code is a two-dimensional symbology that can encode large amounts of data in a compact form. It uses error correction to remain readable even if partially obscured or damaged. QR Codes are widely used in industries such as retail, manufacturing, logistics, and healthcare for tracking, identification, and digital information linking.

Constructors

QrCodeSymbology()

Initializes an instance of the class.

public QrCodeSymbology()

Properties

EciMode

The Extended Channel Interpretation (ECI) mode used to encode the specified value.

public EciMode EciMode { get; set; }

Property Value

EciMode:

The default value is Auto, which normally will not include an ECI header and will encode the value using the default character set (ISO-8859-1) unless UTF-8 is required to encode characters outside of the default character set. Setting this property to any value other than Auto will always include an ECI header in the encoded data, which may allow for a wider range of characters to be encoded depending on the specified ECI mode.

ErrorCorrectionLevel

The error correction level used when encoding data, which determines the percentage of data that can be restored if the symbol is damaged.

public override QrErrorCorrectionLevel ErrorCorrectionLevel { get; set; }

Property Value

QrErrorCorrectionLevel:

The default value is Medium.

Remarks

As the error correction level increases, the amount of data that can be encoded decreases.

ExampleValue

An example value that is valid for the symbology.

public override string ExampleValue { get; }

Property Value

string

Name

The name of the symbology.

public override string Name { get; }

Property Value

string

QuietZoneThickness

The quiet zone (margin) thickness around the barcode.

public override Thickness QuietZoneThickness { get; set; }

Property Value

Thickness:

The default value is 4.

Version

The QR Code version to use when encoding data.

public QrCodeVersion Version { get; set; }

Property Value

QrCodeVersion:

The default value is Auto, which automatically selects the smallest QR version that can encode the data.

Methods

CreateRenderData(BarcodeEncodingRequest)

Creates the render data for the specified encoding request.

public override BarcodeRenderData CreateRenderData(BarcodeEncodingRequest request)
Parameter Type Description
request BarcodeEncodingRequest

The encoding request.

Returns

BarcodeRenderData:

The BarcodeRenderData for the encoded value.

Validate(string)

Validates the specified value.

public override BarcodeValidationResult Validate(string value)
Parameter Type Description
value string

The value to validate.

Returns

BarcodeValidationResult:

A BarcodeValidationResult containing the validation result.

Inherited Members

Extension Methods