Search Results for

    Show / Hide Table of Contents

    Class BarcodePDF417

    Generates the 2D PDF417 barcode.

    Inheritance
    System.Object
    BarcodeBase
    Barcode2DBase
    BarcodePDF417
    Inherited Members
    Barcode2DBase.DrawBarcode(IGraphics, RectangleF)
    BarcodeBase.Name
    BarcodeBase.Color
    BarcodeBase.Font
    BarcodeBase.Clone()
    BarcodeBase.GetDefaultValue()
    Namespace: FastReport.Barcode
    Assembly: FastReport.Base.dll
    Syntax
    public class BarcodePDF417 : Barcode2DBase
    Examples

    This example shows how to configure the BarcodeObject to display PDF417 barcode.

    BarcodeObject barcode;
    ...
    barcode.Barcode = new BarcodePDF417();
    (barcode.Barcode as BarcodePDF417).CompactionMode = PDF417CompactionMode.Text;

    Constructors

    BarcodePDF417()

    Initializes a new instance of the BarcodePDF417 class with default settings.

    Declaration
    public BarcodePDF417()

    Properties

    AspectRatio

    Gets or sets the barcode aspect ratio.

    Declaration
    public float AspectRatio { get; set; }
    Property Value
    Type Description
    System.Single
    Remarks

    A ratio or 0.5 will make the barcode width twice as large as the height.

    CodePage

    Gets or sets the code page used for text conversion.

    Declaration
    public int CodePage { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks

    Use this property to encode non-ASCII characters. For example, set this property to 1251 to use Window CP1251.

    Columns

    Gets or sets the number of barcode data columns.

    Declaration
    public int Columns { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks

    To calculate the necessary number of columns and rows, set the Columns and Rows properties to 0. In this case, the AspectRatio property should be set to desired aspect ratio.

    CompactionMode

    Gets or sets the compaction mode.

    Declaration
    public PDF417CompactionMode CompactionMode { get; set; }
    Property Value
    Type Description
    PDF417CompactionMode

    ErrorCorrection

    Gets or sets the error level correction used for the barcode.

    Declaration
    public PDF417ErrorCorrection ErrorCorrection { get; set; }
    Property Value
    Type Description
    PDF417ErrorCorrection

    PixelSize

    Gets or sets the size of the pixel.

    Declaration
    public Size PixelSize { get; set; }
    Property Value
    Type Description
    Size

    Rows

    Gets or sets the number of barcode data rows.

    Declaration
    public int Rows { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks

    To calculate the necessary number of columns and rows, set the Columns and Rows properties to 0. In this case, the AspectRatio property should be set to desired aspect ratio.

    Methods

    Assign(BarcodeBase)

    Assigns properties from other, similar barcode.

    Declaration
    public override void Assign(BarcodeBase source)
    Parameters
    Type Name Description
    BarcodeBase source

    Barcode object to assign properties from.

    Overrides
    BarcodeBase.Assign(BarcodeBase)
    Back to top © 1998-2025 Copyright Fast Reports Inc.