Return to site

Code 128 Barcode Generator C#

broken image


Code 128 Barcode Generator Library for C#, ASP.NET, VB.NET Code 128.NET Barcode Generator Library is a mature and time-tested.NET barcoding dll. It has helped over 1000.NET developers generate & create Code 128 barcode images in ASP.NET web application.NET WinForms project.NET Code 128 Linear Barcode Introduction. Code 128C: encodes numeric data and FNC1, specially optimized for numbers. Code 128 barcode has three code sets (Code 128A, Code 128B, Code 128C). Code 128 is a high-density linear barcode symbology. It is used for alphanumeric or numeric-only barcodes.


Generate Code 128 Using C#.NET Barcode Image Creator SDK




C# Code 128 Barcode Overview



RasterEdge is a professional Code 128 barcode generating and reading SDK provider. With our SDK, C#.NET developers will have ability to write 1D and 2D barcodes on images and documents with accuracy at high speed. All the generated Code 128 barcodes are compatible with ISO / IEC+Code128+15417-2007 barcode symbology specification and are suitable for all printers.


Related .net document control helps:
asp.net document viewer control: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS..
asp.net edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net dicom viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net tiff viewer control: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net open word document in browser: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net image viewer zoom: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#


Detailed features are listed below:


Code 128 A, Code 128 B, Code 128 C and auto modes supported for C# barcode generating


Include advanced algorithm to calculate and add checksum digit


Automatically add minimum left and right margins that go with specification


Optional to hide or display data text under Code 128 barcode images in C#


Easy to adjust Code 128 size in C# through BarcodeWidth, BarcodeHeight, X (bar width), Y (bar height)


Provide C# code to create single or multiple Code 128 barcode(s) on png, jpeg, gif, and bmp image files and several documents


Customize resolution to fit for all printers for high-quality Code 128 image output




C# Code for Customizing Code 128 Barcode Generation



You can easily generator Code 128 barcode and save it to image files/object using this C#.NET barcode generator control. The following steps will show how to create a Code 128 type barcode encoding numeric data text '123456789' into the image object with XImage.Barcode.Creator.


Add References


RasterEdge.Imaging.Basic.dll


RasterEdge.Imaging.Drawing.dll


RasterEdge.Imaging.Font.dll


RasterEdge.Imaging.Processing.dll


RasterEdge.XImage.BarcodeCreator.dll


System.Drawing.dll


Using Namespaces


using System.Drawing;


using RasterEdge.XImage.BarcodeCreator;


Note: When you get the error 'Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format', please check your configure as follows:

If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.

If using x86, the platform target should be x86.


Please copy the sample code as follow to generator a Code 128 barcode.






Draw Code 128 Barcode on Png, Jpeg, Gif, & Bmp in C#



C#.NET users can easily create single or multiple Code 128 image(s) independently, or you can draw and add Code 128 barcodes on various image files including popular formats like JPG, JPEG, BMP, PNG, and GIF. Users only need to load your local image and draw Code 128 barcode on the image (after specifying location and Code 128 settings), then the barcode is drawn on the picture! Copy the C# sample code below to your .NET imaging program for a test now! If you have any questions concerning the barcode properties, refer to the table below or contact the customer support service!




Snap on solus pro software download.



List


Create Code 128 on PDF, Multi-Page TIFF, Word, Excel and PPT



Demonstrated here is the Visual C# 2005 sample code to create Code 128 barcode images on these documents: PDF, multi-page TIFF, Word, Excel and PowerPoint. Developers are allowed to change the local document to be embedded, the barcode location on the specific page and also the Code 128 parameters like resolution, sizing, check digit, etc.



Create Code 128 on Defined PDF Document Area



Add References(Extra)


RasterEdge.Imaging.Basic.Codec.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.PDF.dll


Using Namespace(Extra)


RasterEdge.XDoc.PDF;


Code 128 Barcode Generator C# Free

RasterEdge.Imaging.Basic;


RasterEdge.Imaging.Raster.Core;




Create Code 128 on Certain TIFF Document Page



Add References(Extra)


RasterEdge.Imaging.Basic.Codec.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.TIFF.dll


Using Namespace(Extra)


RasterEdge.XDoc.TIFF;

Free barcode generator code 128


Create Code 128 on PDF, Multi-Page TIFF, Word, Excel and PPT



Demonstrated here is the Visual C# 2005 sample code to create Code 128 barcode images on these documents: PDF, multi-page TIFF, Word, Excel and PowerPoint. Developers are allowed to change the local document to be embedded, the barcode location on the specific page and also the Code 128 parameters like resolution, sizing, check digit, etc.



Create Code 128 on Defined PDF Document Area



Add References(Extra)


RasterEdge.Imaging.Basic.Codec.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.PDF.dll


Using Namespace(Extra)


RasterEdge.XDoc.PDF;


Code 128 Barcode Generator C# Free

RasterEdge.Imaging.Basic;


RasterEdge.Imaging.Raster.Core;




Create Code 128 on Certain TIFF Document Page



Add References(Extra)


RasterEdge.Imaging.Basic.Codec.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.TIFF.dll


Using Namespace(Extra)


RasterEdge.XDoc.TIFF;


RasterEdge.Imaging.Basic;


RasterEdge.Imaging.Raster.Core;







Create Code 128 on Microsoft Office Word Document



Code 128 Barcode Generator Word

Add References(Extra)


RasterEdge.XDoc.Word.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.Office.Inner.Common.dll


RasterEdge.XDoc.Office.Inner.Office03.dll


Using Namespace(Extra)


RasterEdge.XDoc.Word;


RasterEdge.Imaging.Basic;


RasterEdge.Imaging.Raster.Core;





Create Code 128 on Microsoft Excel Document


Online Barcode Generator Code 128 C


Add References(Extra)


RasterEdge.XDoc.Excel.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.Office.Inner.Common.dll

Code 128 Barcode Generator Check Digit


RasterEdge.XDoc.Office.Inner.Office03.dll


Using Namespace(Extra)


RasterEdge.XDoc.Excel;


RasterEdge.Imaging.Basic;


RasterEdge.Imaging.Raster.Core;





Free Code 128 Barcode Generator C#



Free Barcode Generator 128

Create Code 128 on Microsoft PowerPoint Document



Adobe photoshop lightroom 5.7 1 free download for pc.

Add References(Extra)


RasterEdge.XDoc.PowerPoint.dll


RasterEdge.XImage.Raster.dll


RasterEdge.XImage.Raster.Core.dll


RasterEdge.XDoc.Office.Inner.Common.dll


RasterEdge.XDoc.Office.Inner.Office03.dll


Using Namespace(Extra)


RasterEdge.XDoc.PowerPoint;


RasterEdge.Imaging.Basic;


RasterEdge.Imaging.Raster.Core;






Draw Code 128 on Image & Document in C# Code



Generate Code 128 on image and document with mature C#.NET example code. All the properties above are included in the sample code here. Please make any change to these properties if necessary.











// Unit of measure for all size related setting in the library.
code128.UOM = UnitOfMeasure.PIXEL;
// Bar module width (X), default is 2 pixel;
code128.X = 1;
// Bar module height (Y), default is 75 pixel;
code128.Y = 60;
// Set left, right, top, bottom margins of barcode images. Defaults are 0.
code128. MarginLeft = 0;
code128. MarginRight = 0;
code128. MarginTop = 0;
code128. MarginBottom = 0;
// Image resolution in dpi, default is 72 dpi.
code128.Resolution = 72;
// 4 options of barcode orientation are: 0, 90, 180, 270 degrees
code128. Angle = Angle. Degree0;
// Set data to be encoded
code128.Data = '0123456789';
// Barcode symbology type: Symbology.Code128A; Symbology.Code128B; Symbology.Code128C
code128.Symbology = Symbology.Code128Auto;
// Apply checksum digit
code128.AddCheckSum = true;
// Apply Tilde property of character '~' to specify special characters in the input data. Default is false.
code128. EnableTilde = false.
// Text setting for Code 128 with C#
code128. EnableTilde = true;
// Show human readable text under the barcode
code128.ShowText = true;
// Show checksum digit
code128. ShowCheckSum Char = true;
// Setting the text font size, family and style
code128.TextFont = new Font('Arial', 9f, FontStyle.Regular);
// Set the space between barcode and text. Default is 6 pixel.
code128.TextMargin = 6;




broken image