KA.Barcode for .NET Suite
How to Generate Code 93 in C# application
How to generate & draw Code 93 barcode images in C#, ASP.NET web applications, and windows forms

C# barcode generator: open source example to generate, create Code 93 barcode bitmap image in C#.NET, ASP.NET, WinForms applications

  • Code 93 generation in C# .NET applications
  • Easy-to-use & integrate controls completely written in managed C#
  • Generate Code 93 and other linear & 2D barcodes in C# class, such as EAN-13 in C#, Leitcode in C#, Data Matrix in C#
  • Draw Code 93 in C# ASP.NET web forms
  • Create Code 93 in .NET Windows Forms applications
  • Generate Code 93 in stream object, in graphics object, and image formats
  • Print and save Code 93 as gif, jpeg, png, tiff, and bitmap files using C#

Code 93, also named as ANSI/AIM Code 93, USS Code 93, USS 93, Code 9/3, USS-93, Code 93 Extended.

C# Code 93 barcode generator is a .NET Code 93 generation function of KeepAutomation .NET Barcode Suite, a high quality barcode generator component which enables you to easily and efficiently generate Code 93 and other linear & 2D barcode types in various .NET development environments, such as Windows Forms and ASP.NET, etc.

With .NET Barcode Generator Suite you can instantly generate and save Code 93 in a variety of image formats in C# program, including PNG, BMP, GIF, JPEG, TIFF and so on. For more details about Code 93 C# Generation, please refer to:

Code 93 Barcode Solutions

Besides C# .NET Code 93 Generator, KeepAutomation provides other advanced Code 93 barcode solutions, including

VB.NET Code 93 Generator - generating Code 93 in VB.NET

Java Code 93 Generator - generating Code 93 in java

Reporting Services Code 93 - generating Code 93 in Reporting Services 2005, 2008

Android Code 93 Generator - creating Code 93 barcode in Android

iPhone Code 93 Generator - printing Code 93 barcode in iPhone

Code 93 Barcode Fonts - creating Code 93 in barcode fonts

Apart from Code 93, .NET C# Barcode Generator also supports other linear and 2D barcode symbols, including: C# Code 2 of 5, C# Identcode, C# UPC-A, C# Intelligent Mail, C# PDF 417, etc.
How to Generate Code 93 in C# Applications?

How to Install Code 93 Barcode Control

  • Download KeepAutomation C# Code 93 Generator

  • Add "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll" to your C# project reference.

    1. "project" - "Add Reference" - choose "Browse" in the pop-up window
    2. locate your "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll" - click "OK"
    3. Now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references.

How to Generate Code 93 in Visual C# Class

        using KeepAutomation.Barcode.Bean;    
        BarCode code93= new BarCode(); 
        //Set barcode symbology type to Code 93              
        code93.Symbology = Symbology. Code93;  
        //Set Code 93 valid input: All ASCII characters, including 0-9, A-Z, a-z, special 
        characters like dash, dollar, percentage, space, point, slash, plus, etc. Length: variable.     
        code93.CodeToEncode = "Code39Csharp"; 
        //Set Code 93 image size
        code93.BarcodeUnit = BarcodeUnit.Pixel;    // Unit of measure, Pixel, Cm and Inch supported. 
        code93.DPI = 72;                           // Code 93 image resolution in DPI.
        code93.X = 3;                              // Code 93 bar module width (X dimention)
        code93.Y = 60;                             // Code 93 bar module height (Y dimention)
        code93.LeftMargin = 0;		           // Image left margin size, minimum value is 10X.
        code93.RightMargin = 0;	                   // Image right margin size, minimum value is 10X.
        code93.TopMargin = 0;		           // Code 93 image top margin size
        code93.BottomMargin = 0;	           // Code 93 image bottom margin size
        code93.Orientation = Orientation.Degree0;  // Orientation, 90, 180, 270 degrees supported
        //Set Code 93 human readable text style
        code93.DisplayText = true;                 // Display human readable text
        code93.TextFont = new Font ("Arial", 10f, FontStyle. Regular);
        code93.TextMargin = 6;                     // Space between barcode and text
        //Generate Code 93 barcodes in image GIF format
        //Create Code 93 barcodes in Stream object
        code93.generateBarcodeToStream(".NET System.IO.Stream Object"); 
        //Draw & Print Code 93 barcodes to Graphics object
        code93.generateBarcodeToGraphics(".NET System.Drawing.Graphics Object");
        //Generate Code 93 barcodes & write to byte[] 
        byte[] barcodeInBytes = code93.generateBarcodeToByteArray();
        //Generate Code 93 barcodes & encode to System.Drawing.Bitmap object 
        Bitmap barcodeInBitmap = code93.generateBarcodeToBitmap();
        Other image formats including Png, Bmp, Tiff and Jpeg are also available to suit your needs.