Class Ean13
An EAN-13 bar code (GTIN-13, ISBN) with its digits under the bars.
public class Ean13 : BarCode
- Inheritance
-
objectEan13
- Inherited Members
Remarks
The code is 12 digits, to which the check digit is added, or 13 digits with a check digit that must be right.
Size spans the bars and their quiet zones (11 modules left, 7 right), so the first digit, printed left of the bars, stays inside it. The width is 113 modules; a nominal EAN-13 is 37.29 mm wide and 25.93 mm high. Set TextLocation to None to leave the digits out.
Constructors
- Ean13(string)
Initializes a new EAN-13 bar code. Set Size before drawing it.
- Ean13(string, XSize)
Initializes a new EAN-13 bar code with its size, quiet zones included.
Properties
- FullCode
The 13 digits of the code, with the check digit.
Methods
- CheckCode(string)
Checks for 12 digits, or 13 with the right check digit.
- GetModules()
The 95 modules from start guard to end guard, true for bar.
- Render(XGraphics, XBrush, XFont?, XPoint)
Renders the bar code.