Ean8Supplement2

Represents an EAN/JAN 8, 2 digit supplement barcode.

public class Ean8Supplement2 : Ean8
Public Class Ean8Supplement2
    Inherits Ean8

Inheritance: ObjectBarcodeUpcBaseEan8Ean8Supplement2

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 EAN/JAN 8, 2 digit supplement barcode image.

Imports System
Imports ceTe.DynamicBarcode.Creator

Module MyModule

   Sub Main()

   'Create a barcode object.
   Dim barcode As Ean8Supplement2 = New Ean8Supplement2("12345670","12")

   '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.
        Ean8Supplement2 barcode = new Ean8Supplement2("12345670","12");

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

Remarks

This class can be used to draw a EAN/JAN 8, 2 digit supplement barcode image.

Constructors

Ean8Supplement2(String)Initialize a new instance of the Ean8Supplement2 class.
Ean8Supplement2(String, String)Initializes a new instance of the Ean8Supplement2 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)
SupplementValueGets or sets the supplement value of the barcode.
SymbolHeightGet or set symbol height of the barcode.
(Inherited from UpcBase)
UnitGets or sets the unit of the barcode.
(Inherited from Barcode)
ValueGet or set value of the barcode.
(Inherited from UpcBase)
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)
DrawToBitmap(Single)Returns bitmap object of barcode image.
(Inherited from Barcode)
DrawToBitmap(Single, Single)Returns bitmap object of 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