Home
We need your feedback!

Bytescout.BarCode SDK for .NET
Screenshots

Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot
Subscribe to Our Bi-Monthly Newsletter (tips, new releases, specials):
 Subscribe in a reader
 PRODUCTS  |  DOWNLOAD  |  PURCHASE  |  SUPPORT  |  TESTIMONIALS   |  NEWS  | 

How to create Code39 (USD-3, Code 3 of 9, LOGMARS and in extended mode also know as Code39Extended, Code 39 Full ASCII mode) barcode using Bytescout.BarCode library for .NET

Download Free Trial Buy Now More Information
Shop Safely: BarCode SDK comes with a 30-DAY UNCONDITIONAL MONEY-BACK GUARANTEE

Output barcode screenshot (Code39 symbology)

Code39 sample barcode

Code 39 barcode (aka USD-3, 3 of 9). Code 39 symbology allows all ASCII symbols to be encoded in extended mode or symbols from this string "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%" in standard mode. This symbology used for example by U.S. Government and military, required for DoD applications

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.Code39
' Set value
barcode.Value = "DATA"

' 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.Code39;
// Set value
barcode.Value = "DATA";

// Save barcode to image
barcode.SaveImage("result.png");

// Show image in default image viewer
Process.Start("result.png");
}
}
}

Download Free Trial Buy Now More Information
Shop Safely: BarCode SDK comes with a 30-DAY UNCONDITIONAL MONEY-BACK GUARANTEE

Documentation online: view (new window)

Generate and display barcodes in:

Visual Basic 6 samples (ActiveX object interface): Advanced Samples (Word, Crystal Reports, PDF): Advanced Samples (.NET 1.10 and higher): Advanced Examples (2D barcodes):

HOME  |  CONTACT US

Copyright © ByteScout, 2003-2010. Privacy Statement
Microsoft®, Windows®, Windows 2000®, Windows Server®, Windows Vista®, Internet Explorer®, .NET Framework®, ActiveX®, Visual Basic®, Visual C#®, ASP®, ASP.NET®, Excel®, PowerPoint®, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe®, Flash® and Acrobat® are registered trademarks of Adobe Systems, Incorporated. Mozilla®, Firefox® and the Mozilla and Firefox Logos are registered trademarks of the Mozilla Foundation. Other product names or brandnames used herein are for identification purposes only and might be trademarks or registered trademarks of their respective companies. We disclaim any and all rights to those marks.