Amirul
Amirul

Reputation: 55

How to use Barcode Rendering Framework Codeplex?

I have a problem with Barcode Rendering from Codeplex, I never use that Framework. Can anyone teach me how to use that Framework for print Code 128 Barcode?

Please let me know if someone can do it.

Thank you very much.

Upvotes: 3

Views: 4386

Answers (2)

Mark Baijens
Mark Baijens

Reputation: 13222

Since no answer yet. I made a Code 39 implementation like this. (barcode variable is a string i get from my function)

int maxheight = 40;
Code39BarcodeDraw barcode39 = BarcodeDrawFactory.Code39WithoutChecksum;   
Image img = barcode39.Draw(barcode, maxheight);

Code 128 should look like this

int maxheight = 40;
Code128BarcodeDraw barcode128 = BarcodeDrawFactory.Code128WithChecksum;
Image img = barcode128.Draw("TESTBARCODE", maxheight);

Im using Zen.Barcode.Rendering.Framework version 3.1.10729.1 downloaded from NuGet

Upvotes: 5

Eugene
Eugene

Reputation: 2878

Try ZXing.NET project capable of generating barcodes, hosted on the Codeplex.

Upvotes: 0

Related Questions