IntelligentMailBarCode

Represents a Intelligent Mail barcode.

public class IntelligentMailBarCode : TextBarCode, ICoordinate, ISerializable
Public Class IntelligentMailBarCode
    Inherits TextBarCode
    Implements ICoordinate, ISerializable

Inheritance: ObjectPageElementTaggablePageElementRotatingPageElementBarCodeTextBarCodeIntelligentMailBarCode

Implements: ICoordinate, ISerializable

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 Intelligent Mail 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 intelligent mail barcode
        Dim intelligentMailBarCode As IntelligentMailBarCode = New IntelligentMailBarCode("0123456709498765432101234567891",50, 150)
     
        ' Add the intelligent mail barcode to the page
        MyPage.Elements.Add(intelligentMailBarCode)
     
        ' 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 intelligent mail barcode
        IntelligentMailBarCode intelligentMailBarCode = new IntelligentMailBarCode("0123456709498765432101234567891", 50, 150);

        // Add the intelligent mail barcode to the page
        page.Elements.Add(intelligentMailBarCode);

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

Remarks

This class can be used to place a Intelligent Mail barcode on a page.

Constructors

IntelligentMailBarCode(String, Single, Single)Initializes a new instance of the IntelligentMailBarCode class.
IntelligentMailBarCode(String, Single, Single, Boolean)Initializes a new instance of the IntelligentMailBarCode class.

Properties

AngleGets or sets the heights of the angle element.
(Inherited from RotatingPageElement)
ColorGets or sets the Color of the barcode.
(Inherited from BarCode)
FontGets or sets the font to use when displaying the text.
(Inherited from TextBarCode)
FontSizeGets or sets the font size to use when displaying the text.
(Inherited from TextBarCode)
HeightGets or sets the heights of the page element.
(Inherited from RotatingPageElement)
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)
MailerIDLengthGets or sets a value indicating the length of mailer ID.
PixelsPerXDimensionGets or Sets the pixels per XDimension
(Inherited from BarCode)
RelativeToGets and sets placement of the page element on the page.
(Inherited from PageElement)
ShowTextGets or sets a value indicating if the value should be placed as text below the barcode.
(Inherited from TextBarCode)
ShowTextAboveGets or sets a value indicating if the value should be placed as text above or below the barcode.
SymbolHeightGets the height of the barcode excluding the text height.
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)
TextAlignGets or sets the alignment of the text.
(Inherited from TextBarCode)
TextColorGets or set the color of the text.
(Inherited from TextBarCode)
ValueGets or sets the value of the barcode.
(Inherited from BarCode)
XGets or sets the X coordinate of the page element.
(Inherited from RotatingPageElement)
XDimensionGets or sets the XDimension of the barcode.
(Inherited from BarCode)
XDimensionMilliMetersGets or sets the XDimensionMilliMeters of the barcode.
(Inherited from BarCode)
XDimensionMilsGets or sets the XDimensionMils of the barcode.
(Inherited from BarCode)
XDimensionsPerCentiMeterGets or sets the XDimensionsPerCentiMeter of the barcode.
(Inherited from BarCode)
XDimensionsPerInchGets or sets the XDimensionsPerInch of the barcode.
(Inherited from BarCode)
YGets or sets the Y coordinate of the page element.
(Inherited from RotatingPageElement)

Methods

Draw(PageWriter)Draws the page element to the given PageWriter object.
(Inherited from RotatingPageElement)
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)
GetSymbolWidth()Returns the width required to display the full 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