KA.Barcode for .NET Suite
How to Generate ISBN in C# Application
How to generate linear ISBN barcode images in C#, ASP.NET web applications, and windows forms

C# ISBN Barcode Generator
How to create, generate, print ISBN barcode image using c#.net









  • Easy-to-use & integrate ISBN creation controls completely written in managed C#
  • Simple integration into .NET applications to generate ISBN in Visual C#.NET class library
  • Generate ISBN barcodes in C# winforms, C#.NET web forms, C#.NET class & console applications
  • Draw & display ISBN barcodes in C#.NET Crystal Reports and Reporting Reports
  • Create and add supplement 2 & 5 digits barcode for ISBN barcodes
  • Draw and export high-quality ISBN barcodes for all printers and scanners
  • Compatible with GS1 system of standards for ISBN generations
  • Automatically add check digit for ISBN barcodes
ISBN C#.NET Generator is mature .NET barcode SDK for creating and printing high-quality ISBN barcodes within C#.NET programs. Written in Visual C#.NET, this generator supports ISBN generation in .NET framework 2.0/3.0/4.0 and Visual Studio 2005/2008/2010.

barcode scanner using c#, barcode format in excel, read data from barcode scanner in .net c# windows application, how to generate multiple barcode in c# windows application, barcode scanner code in java, java barcode generate code
ISBN Introduction
ISBN is also known as International Standard Book Number, Bookland EAN, ISBN-13, ISBN-10, ISBN+5, ISBN+2, ISBN Supplement 5/Five-digit Add-On, ISBN Supplement 2/Two-digit Add-On, which is a unique identifier assigned to each edition of every published book and book-like product.
ISBN Encodable Character Set:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • 12 digits encodable, start with "978" or "979"
  • A check digit in the end
ISBN Valid Data Sets
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
ISBN Property Settings
ISBN Barcode Generation in C#.NET

How to Install ISBN Barcode for .NET Suite into your .NET Project

  1. 1.
    Download KA.Barcode Generator for .NET Suite and unzip;
  2. 2.
    Add "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll" to your C# project reference;
  3. 3.
    Click "Add Reference" in "project" and choose "Browse" in the pop-up window;
  4. 4.
    Locate your "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll";
  5. 5.
    Click "OK"; now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references.

How to Generate ISBN in .NET Applications with C# Demo Code

using KeepAutomation.Barcode.Bean;

BarCode isbn= new BarCode();
isbn.Symbology = KeepAutomation.Barcode.Symbology.ISBN;

// Set ISBN valid encoding data: 12 numeric digits, stat with "978" or "979".
isbn.CodeToEncode = "978123456789";

// Apply checksum for ISBN barcode.
isbn.ChecksumEnabled = true;

// Display ISBN checksum in the human-readable text
isbn. DisplayChecksum = true;

// ISBN unit of measure, Pixel, Cm and Inch supported.
isbn.BarcodeUnit = BarcodeUnit.Pixel;

// ISBN image resolution in DPI.
isbn.DPI = 72;

// ISBN module bar width, ie. Width of the narrowest bar (X dimention), default is 1 pixel.
isbn.X = 3;

// ISBN module bar height (Y dimention)
isbn.Y = 60;

// ISBN margin size, a 10X space is automatically added according to specification.
isbn.LeftMargin = 0;
isbn.RightMargin = 0;
isbn.TopMargin = 0;
isbn.BottomMargin = 0;

// ISBN image orientation: 0, 90, 180, 270 degrees supported
isbn. Orientation = KeepAutomation.Barcode.Orientation.Degree0;

// Display human readable text
isbn.DisplayText = true;
isbn.TextFont = new Font ("Arial", 10f, FontStyle. Regular);
isbn.TextMargin = 6;

// Print ISBN barcodes in Png, Jpeg, Gif, Tiff, Bmp, etc. image formats.
isbn.ImageFormat = ImageFormat.Png;

// Generate and save ISBN barcodes to image format
isbn.generateBarcodeToImageFile("C://barcode-isbn-csharp.gif");

// Create ISBN barcodes in Stream object
isbn.generateBarcodeToStream(".NET System.IO.Stream Object");

// Draw & Print ISBN barcodes to Graphics object
isbn.generateBarcodeToGraphics(".NET System.Drawing.Graphics Object");

// Generate ISBN barcodes & write to byte[]
byte[] barcodeInBytes = isbn.generateBarcodeToByteArray();

// Generate ISBN barcodes & encode to System.Drawing.Bitmap object
Bitmap barcodeInBitmap = isbn.generateBarcodeToBitmap();

C# Demo Code to Generate Add-On Barcode for ISBN in .NET Applications

using KeepAutomation.Barcode.Bean;

BarCode isbn= new BarCode();
isbnsup2.Symbology = KeepAutomation.Barcode.Symbology.ISBNSup2;

// Set ISBN valid encoding data: 12 numeric digits, stat with "978" or "979".
isbn.CodeToEncode = "978123456789";

// Set ISBN add-on valid input: Arabic numeric 0-9. Length: 2-digit.
isbnsup2.SupplementCode = "12";

// Set ISBN add-on barcode height and space.
isbnsup2.SupplementHeight = 0.9;
isbnsup2.SupplementSpace = 20;

// Print ISBN barcodes in Png, Jpeg, Gif, Tiff, Bmp, etc. image formats.
isbn.ImageFormat = ImageFormat.Png;
isbn.generateBarcodeToImageFile("C://barcode-isbnsup2-csharp.gif");