- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
C# ISBN Generator Library SDK Integration & Developer GuideGenerate barcode ISBN images in Visual C# .NET with complete sample C# source code
Index
C# ISBN Generator IntroductionISBN, also known as International Standard Book Number, Bookland EAN, is a numeric-only linear barcode used extensively by publishers, retailers as wells as libraries to manage inventory. C# ISBN Generator is one of the functions in OnBarcode's
Barcode for .NET Generation Controls, which supports
generating & printing ISBN and 20+ other linear & 2D bar codes for C# applications.
ISBN Generator library, SDK & application OnBarcode provides several ISBN Generator components and software, including .NET ISBN, Java ISBN, VB.NET ISBN, ASP.NET ISBN, ISBN Generator. This document is providing a detailed C# source code about generating ISBN barcodes in C# class using Barcode for C# generation component. Complete ISBN custmoization settings is included in C# ISBN generation guide. Generate ISBN Barcodes in C#Generating ISBN barcode in C# class example: Linear barcode = new Linear(); // ISBN Barcode Basic Settings barcode.Type = BarcodeType.ISBN; /* ISBN Valid data char set: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (Digits) ISBN Valid data length: 12 digits only, starting with "978" or "979" only */ barcode.Data = "978730216365"; // for ISBN with supplement data (2 or 5 digits) /* barcode.SupData = "12"; // supplement bar height vs bar height ratio barcode.SupHeight = 0.8f; // space between barcode and supplement barcode (in pixel) barcode.SupSpace = 15; */ // Barcode Size Related Settings barcode.UOM = UnitOfMeasure.PIXEL; barcode.X = 1; barcode.Y = 80; barcode.LeftMargin = 20; barcode.RightMargin = 20; barcode.TopMargin = 0; barcode.BottomMargin = 0; barcode.Resolution = 96; barcode.Rotate = Rotate.Rotate0; // Barcode Text Settings barcode.ShowText = true; barcode.TextFont = new Font("Arial", 9f, FontStyle.Regular); barcode.TextMargin = 6; // Image format setting barcode.Format = ImageFormat.Gif; barcode.drawBarcode(@"c:\isbn.gif"); More C# Barcode Generation Tutorials: |