C# Barcode Generator for ISSN Creation
|
Symbology | ISSN | ISSN with 2-digit add-on symbol | ISSN with 5 digit add-on symbol |
Symbology Value | ISSN | ISSNSup2 | ISSNSup5 |
Symbology Sample Code in C# | BarCode barcode = new BarCode(); barcode.Symbology = Symbology.ISSN; | BarCode barcode = new BarCode(); barcode.Symbology = Symbology.ISSNSup2; | BarCode barcode = new BarCode(); barcode.Symbology = Symbology.ISSNSup5; |
Symbology Sample Image | ![]() |
![]() |
![]() |
ISSN data encoding using C# barcode generating component
Though it seems that ISSN has 13 digits, there are only 9 digits to encode. That is because the first 3 digits is fixed data “977”, and the end digit is a check digit. |
![]() |
Find the properties "Data" (default value: 128) in Properties Windows. Input the data you are going to encode in the ISSN. Make sure the data you input is within the character set of ISSN.
Symbology Value | Symbology Character Set | Input Digits Account |
ISSN | Numeric Character: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; | 9 |
ISSNSup2 | Numeric Character: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; | 9 +2 |
ISSNSup5 | Numeric Character: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; | 9 +5 |
C# code of encoding data to ISSN barcode using C# barcode creating API
Property Name Sample Code – ISSN Data
BarCode barcode = new BarCode();
barcode.Symbology = Symbology.ISSN;
barcode.Data = "977987654321";
C# code of encoding two digits supplement data to ISSN barcode using C# barcode library
Property Name Sample Code – ISSNSup2 Data
BarCode barcode = new BarCode();
barcode.Symbology = Symbology.ISSNSup2;
barcode.Data = "977987654321";
barcode.SupData = "12";
C# code of encoding five digits supplement data to ISSN barcode using C# barcode library
Property Name Sample Code – ISSNSup5 Data
BarCode barcode = new BarCode();
barcode.Symbology = Symbology.ISSNSup5;
barcode.Data = "977987654321";
barcode.SupData = "12345";
When supplement barcode is needed, you also need to know the two properties for the supplement barcode generating besides the supplement data (SupData). They are SupHeight and SupSpace. | ![]() |
Property | Value Type | Default Value | Property Description | Sample Code |
SupHeight | float | 0.8f | SupHeight= supplement barcode height/ main barcode height; the value of SupHeight ranges from 0 to 0.8f | BarCode barcode = new BarCode(); |
SupSpace | float | 15 (pixel) | The space between the main barcode and the supplement barcode | BarCode barcode = new BarCode(); |
Property | Value Type | Default Value | Property Description | Sample Code |
UOM | UnitOfMeasure | Pixel | The unit of measure; Options: Pixel Cm Inch |
BarCode barcode = new BarCode(); barcode.Symbology = Symbology.ISSN; |
BarcodeImageWidth | float | 0 | Barcode image width |
|
BarcodeImageHeight | float | 0 | Barcode image height |
|
X | float | 2 | Width of module in unit of measure |
|
Y | float | 75 | Height of module in unit of measure |
|
AutoResize | bool | false | - |
|
MarginTop | float | 0 | Top margin width of the barcode image in unit of measure |
BarCode barcode = new BarCode(); barcode.Symbology = Symbology.ISSN; barcode.Data = "977987654321"; |
MarginBottom | float | 0 | Bottom margin width of the barcode image in unit of measure | |
MarginLeft | float | 0 | Left margin width of the barcode image in unit of measure | |
MarginRight | float | 0 | Right margin width of the barcode image in unit of measure |
The following ISSN barcode integration and creation information links relate to this product that may be of interest to you: