Skip to main content

ISMN

Version: 2.0

ISMN (International Standard Music Number)

The ISMN , represented by the Ismn class, is based on the EAN-13 and encodes 12 data digits and a check digit. It also allows adding two extra digits (ISMN Supplement 2) or five extra digits (ISMN Supplement 5).

ISMN​

The ISMN (International Standard Music Number) barcode (Ismn) is based on EAN-13 and encodes 12 data digits and a check digit.

Ismn barcode = new Ismn("979-0-1234-5678");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As Ismn = New Ismn("979-0-1234-5678")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

ISMN Supplement 2​

The two-digit supplement barcode (IsmnSupplement2) adds a two-digit barcode after the main Ismn barcode.

IsmnSupplement2 barcode = new IsmnSupplement2("979-0-1234-5678","12");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As IsmnSupplement2 = New IsmnSupplement2("979-0-1234-5678","12")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

ISMN Supplement 5​

The five-digit supplement (IsmnSupplement5) barcode adds a five-digit barcode after the main Ismn barcode.

IsmnSupplement5 barcode = new IsmnSupplement5("979-0-1234-5678","12345");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As IsmnSupplement5 = New IsmnSupplement5("979-0-1234-5678","12345")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)