ClassPDF417Encoder
Defines the PDF417 encoder class.
Definition
Namespace:Telerik.Reporting.Barcodes
Assembly:Telerik.Reporting.dll
Syntax:
public class PDF417Encoder : Encoder2D
Inheritance: objectEncoderEncoder2DPDF417Encoder
Inherited Members
Constructors
PDF417Encoder()
Initializes a new instance of the PDF417Encoder class.
Declaration
public PDF417Encoder()
Example
This example illustrates how to set the PDF417Encoder properties.
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;
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
public int Columns { get; set; }
Property Value
int
Encoding
Gets or sets the encoding mode.
Declaration
public EncodingMode Encoding { get; set; }
Property Value
ErrorCorrectionLevel
Gets or sets the error correction level.
Declaration
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
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
public int ModuleYtoXRatio { get; set; }
Property Value
int
Rows
Gets or sets the number of the rows.
Declaration
public int Rows { get; set; }
Property Value
int