QUESTIONS OR COMMENTS ABOUT PRODUCTS? WRITE US AT SUPPORT@BYTESCOUT.COM OR USE THIS FORM

How to make Bookland type barcode image using Bytescout BarCode SDK for .NET

Output barcode screenshot (Bookland symbology)

Bookland barcode sample

Bookland barcode. This symbology is mostly the same as EAN-13 symbology, but used exclusively with books. First three digits of Bookland symbology are always "978" the rest of code is a ISBN number without embedded hyphens and ISBN check digit.

Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open "Bytescout Software" tab and drag-n-drop "BarCode" control into your WinForms or ASP.NET application (in design mode)

Visual Basic:

Imports Bytescout.BarCode

Module Module1

Sub Main()

' Create new barcode

Dim barcode As New Barcode()

' Set symbology

barcode.Symbology = SymbologyType.Bookland

' Set value

barcode.Value = "123456789"

' Save barcode to image

barcode.SaveImage("result.png")

' Show image in default image viewer

Process.Start("result.png")

End Sub

End Module

C#:

using System;

using System.Collections.Generic;

using System.Text;

using System.Diagnostics;

using Bytescout.BarCode;

namespace Sample

{

class Program

{

static void Main(string[] args)

{

// Create new barcode

Barcode barcode = new Barcode();

// Set symbology

barcode.Symbology = SymbologyType.Bookland;

// Set value

barcode.Value = "123456789";

// Save barcode to image

barcode.SaveImage("result.png");

// Show image in default image viewer

Process.Start("result.png");

}

}

}

Tutorials: