DataMatrixBarcode

Represents a DataMatrix barcode.

public class DataMatrixBarcode : Barcode
Public Class DataMatrixBarcode
    Inherits Barcode

Inheritance: ObjectBarcodeDataMatrixBarcode

Licensing Info

This class is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:

Examples

The following example will Draw a DataMatrix barcode image.

Imports System
Imports ceTe.DynamicBarcode.Creator

Module MyModule

   Sub Main()

   'Create a barcode object.
   Dim barcode As DataMatrixBarcode = New DataMatrixBarcode("Hello World")

   'Draw barcode image.
   barcode.Draw("C:\barcode.png", 300, ImageFormat.Png)

   End Sub
End Module
using System;
using ceTe.DynamicBarcode.Creator;

class MyClass
{
    static void Main()
    {
        // Create a barcode object.
        DataMatrixBarcode barcode = new DataMatrixBarcode("Hello World");

        // Draw barcode image.
       barcode.Draw(@"C:\barcode.png", 300, ImageFormat.Png);
       
    }
}

Remarks

This class can be used to draw a DataMatrix barcode image.

Constructors

DataMatrixBarcode(Byte[])Initializes a new instance of the DataMatrixBarcode class.
DataMatrixBarcode(Byte[], DataMatrixEncodingType)Initializes new instance of the DataMatrixBarcode class.
DataMatrixBarcode(Byte[], DataMatrixEncodingType, DataMatrixSymbolSize)Initializes a new instance of the DataMatrixBarcode class.
DataMatrixBarcode(Byte[], DataMatrixEncodingType, DataMatrixSymbolSize, DataMatrixFunctionCharacter)Initializes a new instance of the DataMatrixBarcode class.
DataMatrixBarcode(String)Initializes a new instance of the DataMatrixBarcode class.
DataMatrixBarcode(String, DataMatrixEncodingType)Initializes a new instance of the DataMatrixBarcode class.
DataMatrixBarcode(String, DataMatrixEncodingType, DataMatrixSymbolSize)Initializes a new instance of the DataMatrixBarcode class.
DataMatrixBarcode(String, DataMatrixEncodingType, DataMatrixSymbolSize, DataMatrixFunctionCharacter)Initializes a new instance of the DataMatrixBarcode class.

Properties

BackColorGets or sets the background color of the barcode.
(Inherited from Barcode)
BarcodeMarginGets or Sets the margins of the barcode.
(Inherited from Barcode)
BarColorGets or sets the bar color of the barcode.
(Inherited from Barcode)
ProcessTildeGets or sets wheter to process tilde character.
UnitGets or sets the unit of the barcode.
(Inherited from Barcode)
XDimensionGets or sets the XDimension of the barcode.
(Inherited from Barcode)

Methods

Draw(Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Draw(Single, Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Draw(String, Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Draw(String, Single, Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
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)
GetOverflowDataMatrixBarcode()Gets a new instance of the DataMatrixBarcode class.
GetRecommendedQuietZone(Single, Single)Gets the recommanded quietzone of the barcode.
(Inherited from Barcode)
GetRequiredSize(Single, Single)Returns the size required to display the full barcode.
(Inherited from 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.DynamicBarcode.Creator

In this topic