.NET Barcode for WinForms          ASP.NET Barcode          .NET Barcode Reader          Java Barcode          Java Barcode Reader
Home > .NET Barcode for Winforms > Linear Barcode Generator for WinForms - Code 93 Generator

.NET Code 9 of 3 Barcode Generator

Linear barcode making library for Code 93 generation in .NET developmental projects

Embed Code 93 barcode creator into .NET Windows Forms Applications

  • Create Code 93 barcodes in .NET Windows Forms projects

  • Support C#, VB.NET, Managed C++ and Delphi for .NET

  • Completely built in C#.NET, VB.NET

  • Support high-quality GIF, BMP, PNG, JPEG/JPG & TIFF Code 93 barcode formats

  • Support to rotate Code 93 barcodes into 0, 90, 180, 270 degrees

  • Support Graphic cofiguration to set text font, color, margin with show text

  • Easy to integrated in Microsoft Visual Studio2005/2008/2010

  • Flexble module sizing setting for specifing Code 93 barcode margin size, wide/narrow ratio, X, Y ratio, etc

  • Winforms Data-Binding support

  • Mature & reliable barcode generating component

  • Royalty free with the purchase of a Developer License

Code 93 Barcode Writer Component for .NET WinForms Applictions - Overview

.NET Code 93 barcode generator for Winforms is a flexible and reliable .NET barcode generating DLL for making Code 93 barcodes in .NET Winforms projects.

.NET Code 93 generator for Winforms provides an easy way to generate Code 93 barcode with little efforts that is integrated with the Code 93 standard and specifications. Supported to be used in Microsoft Visual Studio, .NET Code 93 generator for Winforms allows C#, Visual Basic.NET, managed C++ as well as Delphi .NET to be used. Rich barcode image formats, such as GIF, BMP, PNG, JPEG/JPG & TIFF, are provided. Meanwhile mutilple barcode options are provided as well for suit your needs.

Code 93 information:

Code 93 is designed based on code 39 in 1982. Similar to code 39, code 93 is an alphanumeric symbology as well. However, it is capable of encoding more character sets, and has higher data storage than code 39.

.NET Code 93 generator for Winforms encodes:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

  • Uppercase letters (A through Z)

  • - (Dash), $ (Dollar), : (Colon), / (Slash), . (Point), + (Plus)

 

Development Environment

  • Windows Forms Application (design-time and runtime support)

  • Console Application (runtime support)

  • Windows Service (runtime support)

  • Class Library (runtime support)

Draw Code 93 barcode images using .NET Windows Forms Barcode DLL

Install and register .NET barcode generator control in .NET projects for Code 93 creation
  • Download Avapose.com trial package and unzip

  • Copy Avapose.Barcode.Encoder.WinForms.dll to your Winforms project folder
    (Do not copy .dll to .NET bin directory, Visual Studio will do so.)

  • Add Avapose.Barcode.Encoder.WinForms.dll to your Winforms project reference

  • Add Winforms Control to your Visual Studio Toolbox.

  • 1. Right click .NET Visual Studio Toolbox, select menu Choose Items...

    2. In "Choose Toolbox Items" form, click button "Browse...", and select dll
        Avapose.Barcode.Encoder.WinForms.dll

Generate, print Code 93 barcodes with C# class

BarCode aa = new BarCode();

aa.Symbology = Symbology.Code93;

aa.Data = "7511";

aa.BarcodeImageWidth = 175;

aa.BarcodeImageHeight = 50;

aa.X = 6;

aa.Y = 6;

aa.AutoResize = true;

aa.draw("...\code93_csharp.gif");


Generate, print Code 93 barcodes with VB.NET class

Dim barcode As Avapose.Barcode.Encoder.ClassLibrary.BarCode = New Avapose.Barcode.Encoder.ClassLibrary.BarCode

barcode.Symbology = Avapose.Barcode.Encoder.ClassLibrary.Symbology.Code93

barcode.Data = "6505"

barcode.BarcodeImageWidth = 175

barcode.BarcodeImageHeight = 50

barcode.X = 6

barcode.Y = 6

barcode.AutoResize = True

barcode.draw("...\code93_vb.gif")


 

 

Code 93 Properties and Methods using .NET Forms Barcode Generator

Category : Basic

Properties Value
Comments
Type Default
Data string "128"

Code 93 Valid value to encode:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

  • Uppercase letters (A through Z)

  • - (Dash), $ (Dollar), : (Colon), / (Slash), . (Point), + (Plus)

Symbology
Symbology
Code128Auto

Linear barcode symbology type.

Set the value to Symbology.Code93

EnableCheckSum
bool
false

EnableCheckSum property is not applied here. Check character "C" and "K" will always be applied.

Category : Barcode Size Related

Properties Value
Comments
Type Default
AutoResize

bool
false

Set AutoResize property to true, the generated barcode image can be resized automatically.

UOM
UnitOfMeasure
Pixel

Unit of meature for all size related settings in the library.

Valid values:
  • UnitOfMeasure.Pixel
  • UnitOfMeasure.Cm
  • UnitOfMeasure.Inch

X float 2

Bar module (narrow bar) width of barcode, default is 2 pixel

Y float 75

Bar module height of barcode, default is 75 pixel

BarcodeImageWidth float 0

Barcode image width.

Be sure barcodeWidth setting is larger than the barcode required minimum width, otherwisethe library will automatically reset to barcode minimum width.

BarcodeImageHeight float 0

Barcode image height.

Be sure barcodeHeight setting is larger than the barcode required minimum height, otherwise the library will automatically reset to barcode minimum height.

MarginLeft float 0

Left margin size of barcode image.

MarginRight float 0

Right margin size of barcode image.

MarginTop float 0

Top margin size of barcode image.

MarginBottom
float 0

Bottom margin size of barcode image.

DPI int 72

Barcode image resolution in DPI
(Dots per inch).

Angle Angle Degree0

Barcode image orientation can be rotated in this library.

Valid values:
  • Angle.Degree0
  • Angle.Degree90
  • Angle.Degree180
  • Angle.Degree270

Category : Barcode Colors

Properties Value
Comments
Type Default
BackgroundColor
Color
white

Set BackgroundColorproperty to change ackground color of barcode image

ForegroundColor
Color
black


Set ForegroundColor property to change foreground color barcode image

Category : Font Style

Properties Value
Comments
Type Default
ShowText
bool
true


True: show text under the barcode

False: hide text under the barcode

TextFont
Font
new Font ("Arial",10pt,
FontStyle.Regular)

Set TextFont property to change font style of barcode text .

TextMargin
float
6

Set TextMargin property to change space between barcode and barcode data text, default is 6 pixel


ShowCheckSum Char

bool true

True: show checksum digit character;

False: hide checksum digit character.

TextColor Color black

Set TextColorproperty to change barcode text color

Category : Image Format

Properties Value
Comments
Type Default
ImageFormat
Format
gif

Barcode image encoding type,including Jpeg, Png, Tiff, Bmp, Emf, Exif, Icon and Memory Bmp.

Methods

// create and draw to image file
public void draw(string filename)

// create, draw, paint barcode on Graphics object
public void draw(Graphics graphics)

// create, draw, paint barcode on Bitmap object
public Bitmap draw()

// create, draw, paint barcodeon Stream object
public void draw(Stream fileStream)

// create, draw, paint barcode on byte[] object
public byte[] drawOutputAsBytes()