c#-适用于.NET的免费条形码API

是否有像样的免费API /组件可用于在C#中打印条形码?

Vaccano asked 2019-10-08T20:32:56Z
3个解决方案
59 votes

Codeplex GitHub上的Barcode Rendering Framework会有所帮助吗?

Svish answered 2019-10-08T20:33:06Z
53 votes

我确实推荐BarcodeLibrary

这是一小段有关如何使用它的代码。

        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");
Andrei Schneider answered 2019-10-08T20:33:36Z
13 votes

CodeProject上有一个"3 of 9"控件:Barcode .NET Control

Rubens Farias answered 2019-10-08T20:34:00Z
translate from https://stackoverflow.com:/questions/2043341/free-barcode-api-for-net