Code39

Represents a Code39 barcode.

public class Code39 : TextBarcode
Public Class Code39
    Inherits TextBarcode

Inheritance: ObjectBarcodeLinearBarcodeTextBarcodeCode39

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 Code39 barcode image.

Imports System
Imports ceTe.DynamicBarcode.Creator

Module MyModule

   Sub Main()

   'Create a barcode object.
   Dim barcode As Code39 = New Code39("123456789", 100)

   '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.
        Code39 barcode = new Code39("123456789", 100);

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

Remarks

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

Constructors

Code39(String, Single)Initializes a new instance of the Code39 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)
FontSizeFont size in points.
(Inherited from TextBarcode)
ShowTextGets or sets a value indicating if the value should be placed as text below the barcode.
(Inherited from TextBarcode)
SymbolHeightGets or sets symbol height of barcode.
(Inherited from LinearBarcode)
TextAlignGets or sets the alignment to use when displaying the text.
(Inherited from TextBarcode)
TextColorGets or set the color of the text.
(Inherited from TextBarcode)
UnitGets or sets the unit of the barcode.
(Inherited from Barcode)
ValueGets or sets the value of barcode.
(Inherited from LinearBarcode)
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)
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