Click or drag to resize
BarcodeEAN13 Class
EAN-13 barcode class. Also known as: EAN-99, JAN-13.
Inheritance Hierarchy

Namespace:  Limilabs.Barcode
Assembly:  Barcode (in Barcode.dll) Version: 2.0.0.20
Syntax
public class BarcodeEAN13 : BaseBarcode

The BarcodeEAN13 type exposes the following members.

Constructors
  NameDescription
Public methodBarcodeEAN13
Initializes a new instance of the BarcodeEAN13 class
Top
Properties
  NameDescription
Public propertyBackColor
Back color.
(Inherited from BaseBarcode.)
Public propertyBackColorOle
Back color for OLE.
(Inherited from BaseBarcode.)
Public propertyBarColor
Bar color.
(Inherited from BaseBarcode.)
Public propertyBarColorOle
Bar color for OLE.
(Inherited from BaseBarcode.)
Public propertyChecksumAdd
True if checksum should be added.
(Inherited from BaseBarcode.)
Public propertyChecksumVisible
True if checksum should be visible in barcode text.
(Inherited from BaseBarcode.)
Public propertyCode128SetMode
You can specify the set that should be used when using Code128. Code128SetMode.BestFitABC is default.
(Inherited from BaseBarcode.)
Public propertyCustomText
Custom text which will be rendered instead of Number.
(Inherited from BaseBarcode.)
Public propertyEAN128IsFNC1OmmitedForFixedLength
True if FNC1 control character should be ommited for fixed length fields. This results in shorter barcode. True is default.
(Inherited from BaseBarcode.)
Public propertyFontHeight
Fraction of Height which will be reserved for text label. Between 0 and 1.0. Default is 0.15
(Inherited from BaseBarcode.)
Public propertyFontName
Font name that will be used for any text on barcode image.
(Inherited from BaseBarcode.)
Public propertyFontStyle
Font style that will be used for any text on barcode image.
(Inherited from BaseBarcode.)
Public propertyForeColor
Text color.
(Inherited from BaseBarcode.)
Public propertyForeColorOle
Text color for OLE.
(Inherited from BaseBarcode.)
Public propertyHeight
Barcode height in pixels.
(Inherited from BaseBarcode.)
Public propertyIsNumberVisible
True if text should be visible in rendered barcode.
(Inherited from BaseBarcode.)
Public propertyLeftQuietZone
Gets or sets quiet zone size. If SetMarginsAutomatically is set to true always returns this.NarrowBarWidth*9.
(Inherited from BaseBarcode.)
Public propertyNarrowBarWidth
Width of the narrow bar in rendered barcode in pixels.
(Inherited from BaseBarcode.)
Public propertyNumber
Barcode number. Separate supplement with ',' char.
(Inherited from BaseBarcode.)
Public propertyRatio
Wide/narrow bar ratio.
(Inherited from BaseBarcode.)
Public propertyRightQuietZone
Gets or sets quiet zone size. If SetMarginsAutomatically is set to true always returns this.NarrowBarWidth*9.
(Inherited from BaseBarcode.)
Public propertyRotation
Rotation of the rendered barcode.
(Inherited from BaseBarcode.)
Public propertySetMarginsAutomatically
If set to true RightQuietZone and LeftQuietZone always returns this.NarrowBarWidth*9.
(Inherited from BaseBarcode.)
Public propertyTextRenderingHint
Gets or sets text rendering hint.
(Inherited from BaseBarcode.)
Top
Methods
  NameDescription
Public methodCalculateChecksum
Calculates checksum
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLicenseFolder
Returns folder path from which component will load license file (BarcodeLicense.xml).
(Inherited from BaseBarcode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWidth (Inherited from BaseBarcode.)
Public methodRender
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRender(ImageType)
Creates new Bitmap with rendered barcode and returns byte array containing the image.
(Inherited from BaseBarcode.)
Public methodRender(Single, Single)
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRender(Graphics, Int32, Int32)
Renders barcode on specified graphics object.
(Inherited from BaseBarcode.)
Public methodRender(ImageType, Single, Single)
Creates new Bitmap with rendered barcode and returns byte array containing the image.
(Inherited from BaseBarcode.)
Public methodRenderDpi (Inherited from BaseBarcode.)
Public methodRenderHbitmap
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRenderHbitmap(Single, Single)
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRenderHbitmapDpi (Inherited from BaseBarcode.)
Public methodSave(Stream, ImageType)
Creates new Bitmap with rendered Barcode and saves it to the stream with specified image format.
(Inherited from BaseBarcode.)
Public methodSave(String, ImageType)
Creates new Bitmap with rendered Barcode and saves it to file of imageType format.
(Inherited from BaseBarcode.)
Public methodSave(Stream, ImageType, Single, Single)
Creates new Bitmap with rendered Barcode and saves it to the stream with specified image format and resolution
(Inherited from BaseBarcode.)
Public methodSave(String, ImageType, Single, Single)
Creates new Bitmap with rendered Barcode and saves it to file of imageType format.
(Inherited from BaseBarcode.)
Public methodSaveDpi (Inherited from BaseBarcode.)
Public methodSplitText
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Implemented by the International Article Numbering Association (EAN) in Europe. EAN-13 is a superset of UPC-A. This means that any software or hardware capable of reading an EAN-13 symbol will automatically be able to read an UPC-A symbol.

Bookland bar codes are used on books and ISSN bar codes are used on magazines.

The number of the item and its price are not actually in the bar code. When the EAN bar code is scanned it pulls out information from an inventory database. This is how the registers know the item name and price. When prices change, they are changed in the database, otherwise each item affected by the price change would have to have its bar code replaced.

The EAN Symbol is numeric only. It is made up of the following:
  • The number system, 2 or 3 digits.
  • Manufacturer number, assigned by the Uniform Code Council.
  • Product number that identifies the product, assigned by the manufacturer.
  • A check character found in the lower right hand corner.


EAN bar codes are used in Europe, JAN (Japanese Article Numbering) bar codes are used in Japan, UPC are used in the USA.

EAN-99 is a special form of EAN-13 which just starts with "99". JAN-13 is a special form of EAN-13 which just starts with "45" or "49".
See Also