问题
Is there a decent free API/component for printing barcodes in C#?
回答1:
Could the Barcode Rendering Framework at Codeplex GitHub be of help?
回答2:
I do recommend BarcodeLibrary
Here is a small piece of code of how to use it.
BarcodeLib.Barcode barcode = new BarcodeLib.Barcode()
{
IncludeLabel = true,
Alignment = AlignmentPositions.CENTER,
Width = 300,
Height = 100,
RotateFlipType = RotateFlipType.RotateNoneFlipNone,
BackColor = Color.White,
ForeColor = Color.Black,
};
Image img = barcode.Encode(TYPE.CODE128B, "123456789");
回答3:
There is a "3 of 9"
control on CodeProject: Barcode .NET Control
来源:https://stackoverflow.com/questions/2043341/free-barcode-api-for-net