Skip to main content

ISBN

Version: 2.0

ISBN (International Standard Book Number)

The ISBN, represented by the Isbn class, is a common barcode based on the EAN-13, which encodes 12 data digits and a check digit. It also supports adding an extra two digits (ISBN Supplement 2) or five digits (ISBN Supplement 5).

ISBN​

The ISBN (International Standard Book Number) barcode (Isbn) is based on EAN-13, which encodes 12 data digits and a check digit. To use the ten-digit ISBN, you must use 978 as EAN (European Article Number) for Bookland.

The following illustrates creating an ISBN with an EAN value.

Isbn barcode = new Isbn("978-1-23-456789-7");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As Isbn = New Isbn("978-1-23-456789-7")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

ISBN Supplement 2​

The two digit supplement barcode (IsbnSupplement2) adds a two-digit barcode after the main ISBN barcode.

IsbnSupplement2 barcode = new IsbnSupplement2("978-1-23-456789-7","12");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As IsbnSupplement2 = New IsbnSupplement2("978-1-23-456789-7","12")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

ISBN Supplement 5​

The five-digit supplement barcode (IsbnSupplement5) adds a five-digit barcode after the main ISBN barcode.

IsbnSupplement5 barcode = new IsbnSupplement5("978-1-23-456789-7","12345");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As IsbnSupplement5 = New IsbnSupplement5("978-1-23-456789-7","12345")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)