Class
PDF417Encoder

Defines the PDF417 encoder class.

Definition

Namespace:Telerik.Reporting.Barcodes

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class PDF417Encoder : Encoder2D

Inheritance: objectEncoderEncoder2DPDF417Encoder

Inherited Members Encoder.ToString()

Constructors

PDF417Encoder()

Initializes a new instance of the PDF417Encoder class.

Declaration

cs-api-definition
public PDF417Encoder()

Example

This example illustrates how to set the PDF417Encoder properties.

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

encoder.Columns = 3;
encoder.Rows = 3;
encoder.Encoding = Telerik.Reporting.Barcodes.PDF417.EncodingMode.Auto;
encoder.ErrorCorrectionLevel = 2;

this.barcode1.Encoder = encoder;
vb
Dim encoder = New Telerik.Reporting.Barcodes.PDF417Encoder()
encoder.Columns = 3 encoder.Rows = 3 encoder.Encoding = Telerik.Reporting.Barcodes.PDF417.EncodingMode.Auto encoder.ErrorCorrectionLevel = 2
Me.barcode1.Encoder = encoder 

Properties

Columns

Gets or sets the number of the columns.

Declaration

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

Property Value

int

Encoding

Gets or sets the encoding mode.

Declaration

cs-api-definition
public EncodingMode Encoding { get; set; }

Property Value

EncodingMode

ErrorCorrectionLevel

Gets or sets the error correction level.

Declaration

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

Property Value

int

ModuleLockRatio

Gets or sets whether to lock the Y:X ratio during resize. When false (default), the ratio serves as a minimum. When true, the ratio is kept fixed during resize.

Declaration

cs-api-definition
public bool ModuleLockRatio { get; set; }

Property Value

bool

ModuleYtoXRatio

Gets or sets the row height to module width ratio (Y:X). Per ISO/IEC 15438, this should be at least 3.

Declaration

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

Property Value

int

Rows

Gets or sets the number of the rows.

Declaration

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

Property Value

int