Class
QRCodeEncoder

Defines the QRCode encoder class.

Definition

Namespace:Telerik.Reporting.Barcodes

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class QRCodeEncoder : Encoder2D

Inheritance: objectEncoderEncoder2DQRCodeEncoder

Derived Classes: SwissQRCodeEncoder

Inherited Members Encoder.ToString()

Constructors

QRCodeEncoder()

Initializes a new instance of the QRCodeEncoder class.

Declaration

cs-api-definition
public QRCodeEncoder()

Example

This example illustrates how to set the QRCodeEncoder properties.

cs
var encoder = new Telerik.Reporting.Barcodes.QRCodeEncoder();

encoder.Version = 10;
encoder.ErrorCorrectionLevel = Telerik.Reporting.Barcodes.QRCode.ErrorCorrectionLevel.M;
encoder.ECI = Telerik.Reporting.Barcodes.QRCode.ECIMode.CP437;
encoder.Mode = Telerik.Reporting.Barcodes.QRCode.CodeMode.Alphanumeric;
encoder.FNC1 = Telerik.Reporting.Barcodes.QRCode.FNC1Mode.SecondPosition;
encoder.ApplicationIndicator = "00";

this.barcode1.Encoder = encoder;
vb
Dim encoder = New Telerik.Reporting.Barcodes.QRCodeEncoder()
encoder.Version = 10 encoder.ErrorCorrectionLevel = Telerik.Reporting.Barcodes.QRCode.ErrorCorrectionLevel.M encoder.ECI = Telerik.Reporting.Barcodes.QRCode.ECIMode.CP437 encoder.Mode = Telerik.Reporting.Barcodes.QRCode.CodeMode.Alphanumeric encoder.FNC1 = Telerik.Reporting.Barcodes.QRCode.FNC1Mode.SecondPosition encoder.ApplicationIndicator = "00"
Me.barcode1.Encoder = encoder 

Properties

ApplicationIndicator

Gets or sets the ApplicationIndicator entered by the user.

Declaration

cs-api-definition
public string ApplicationIndicator { get; set; }

Property Value

string

ECI

Gets or sets the Extended Channel Interpretation (ECI) mode.

Declaration

cs-api-definition
public virtual ECIMode ECI { get; set; }

Property Value

ECIMode

ErrorCorrectionLevel

Gets or sets the error correction Level.

Declaration

cs-api-definition
public virtual ErrorCorrectionLevel ErrorCorrectionLevel { get; set; }

Property Value

ErrorCorrectionLevel

FNC1

Gets or sets the FNC1 entered by the user.

Declaration

cs-api-definition
public FNC1Mode FNC1 { get; set; }

Property Value

FNC1Mode

Mode

Gets or sets the type of code, such as Numeric, Alphanumeric, Byte or Kanji.

Declaration

cs-api-definition
public CodeMode Mode { get; set; }

Property Value

CodeMode

Version

Gets or sets the Version entered by the user.

Declaration

cs-api-definition
public int Version { get; set; }

Property Value

int