Pdf417

Represents Pdf417 barcode.

public class Pdf417 : Dim2Barcode, ICoordinate, ISerializable
Public Class Pdf417
    Inherits Dim2Barcode
    Implements ICoordinate, ISerializable

Inheritance: ObjectPageElementTaggablePageElementDim2BarcodePdf417

Implements: ICoordinate, ISerializable

Derived: MacroPdf417

Licensing Info

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Examples

The following example will place a Pdf417 barcode on the page.
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements.BarCoding
     
Module MyModule
     
    Sub Main()
     
        ' Create a PDF Document
        Dim MyDocument As Document = New Document
     
        ' Create a Page and add it to the document
        Dim MyPage As Page = New Page
        MyDocument.Pages.Add(MyPage)
     
        ' Create a Pdf417 barcode
        Dim pdf417 As Pdf417 = New Pdf417("Pdf417 barcode", _
     	10.0f, 10.0f, 2, 2.0f)
     
        ' Add the Pdf417 barcode to the page
        MyPage.Elements.Add(pdf417)
     
        ' Save the PDF
        MyDocument.Draw("C:\MyDocument.pdf")
     
    End Sub
End Module
using System;
using ceTe.DynamicPDF;
using ceTe.DynamicPDF.PageElements.BarCoding;

public class Example
{
    public static void CreatePDF(string outputPath)
    {
        // Create a PDF Document
        Document document = new Document();

        // Create a Page and add it to the document
        Page page = new Page();
        document.Pages.Add( page );

        // Create a Pdf417 barcode
        Pdf417 pdf417 = new Pdf417( "Pdf417 barcode", 10.0f, 10.0f, 2, 2.0f );

        // Add the Pdf417 barcode to the page
        page.Elements.Add( pdf417 );

        // Save the PDF
        document.Draw(outputPath);
    }
}

Remarks

This class can be used to generate Pdf417 barcode symbol.

Constructors

Pdf417(Byte[], Single, Single, Int32, Single)Initializes a new instance of the Pdf417 class.
Pdf417(String, Single, Single, Int32, Single)Initializes a new instance of the Pdf417 class.

Properties

AngleGets or sets the angle of the barcode.
(Inherited from Dim2Barcode)
ColorGets or sets the Color for the barcode.
(Inherited from Dim2Barcode)
CompactionGets or sets the type of compaction.
CompactPdf417Gets or sets the Compact Pdf417.
ErrorCorrectionGets or sets the error correction level for the PDF417 barcode.
IDGets or sets the ID of the page element.
(Inherited from PageElement)
IgnoreMarginsGets or sets ignore margin property. Setting false will consider the margin while placing the page element based on the RelativeTo property.
(Inherited from PageElement)
PixelsPerXDimensionGets or Sets the pixels per XDimension
(Inherited from Dim2Barcode)
RelativeToGets and sets placement of the page element on the page.
(Inherited from PageElement)
TagGets or sets the tag of the taggable element.
(Inherited from TaggablePageElement)
TagOrderGets or sets the tag order of the taggable element.
(Inherited from TaggablePageElement)
ValueGets or sets the value of the barcode.
XGets or sets the X coordinate of the barcode.
(Inherited from Dim2Barcode)
XDimensionGets or sets the xDimension of the barcode.
(Inherited from Dim2Barcode)
XDimensionMilliMetersGets or sets the XDimensionMilliMeters of the barcode.
(Inherited from Dim2Barcode)
XDimensionMilsGets or sets the XDimensionMils of the barcode.
(Inherited from Dim2Barcode)
XDimensionsPerCentiMeterGets or sets the XDimensionsPerCentiMeter of the barcode.
(Inherited from Dim2Barcode)
XDimensionsPerInchGets or sets the XDimensionsPerInch of the barcode.
(Inherited from Dim2Barcode)
YGets or sets the Y coordinate of the barcode.
(Inherited from Dim2Barcode)
YDimensionGets or sets the yDimension of the barcode.
YDimensionMilliMetersGets or sets the YDimensionMilliMeters of the barcode.
YDimensionMilsGets or sets the YDimensionMils of the barcode.
YDimensionsPerCentiMeterGets or sets the YDimensionsPerCentiMeter of the barcode.
YDimensionsPerInchGets or sets the YDimensionsPerInch of the barcode.

Methods

Draw(PageWriter)Draws the PDF417 to the given PageWriter object.
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetSymbolHeight()Returns the height required to display the PDF417 barcode.
GetSymbolWidth()Returns the width required to display the PDF417 barcode.
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF.PageElements.BarCoding

In this topic