PDF File Writer Class Library - Author Uzi Granot
BarcodeEAN13 Class |
Barcode EAN-13 or UPC-A class

Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public class BarcodeEAN13 : Barcode
The BarcodeEAN13 type exposes the following members.

Name | Description | |
---|---|---|
![]() | BarcodeEAN13(Int32) |
Barcode EAN13 constructor.
|
![]() | BarcodeEAN13(String) |
Barcode EAN13 Constructor
|

Name | Description | |
---|---|---|
![]() | BarCount |
Total number of black and white bars
(Inherited from Barcode.) |
![]() | CodeArray |
Gets a copy of CodeArray
(Inherited from Barcode.) |
![]() | Text |
Text string
(Inherited from Barcode.) |
![]() | TotalWidth |
Total barcode width in narrow bar units.
(Inherited from Barcode.) |

Name | Description | |
---|---|---|
![]() | BarWidth |
Barcode width
(Overrides BarcodeBarWidth(Int32).) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBarcodeBox |
Calculate total barcode height including text
(Overrides BarcodeGetBarcodeBox(Double, Double, PdfFont, Double).) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Name | Description | |
---|---|---|
![]() ![]() | BARCODE_HALF_LEN |
Barcode half length
|
![]() ![]() | BARCODE_LEN |
Barcode length
|
![]() ![]() | CODE_CHAR_BARS |
Code character bars
|
![]() ![]() | CODE_CHAR_WIDTH |
Code character width
|
![]() ![]() | CodeTable |
Code table for Barcode EAN-13 or UPC-A
|
![]() ![]() | LEAD_BARS |
Lead bars
|
![]() ![]() | ParityTable |
Parity table
|
![]() ![]() | SEPARATOR_BARS |
Separator bars
|

Barcode EAN-13 or UPC-A
Note UPC-A is a subset of EAN-13
UPC-A is made of 12 digits
EAN-13 is made of 13 digits
If the first digit of EAN-13 is zero it is considered to be
UPC-A. The zero will be eliminated.
The barcode in both cases is made out of 12 symbols.
