NetBarcode 1.4.0

Barcode generation library written in .NET Core compatible with .NET Standard 2.

Install-Package NetBarcode -Version 1.4.0
dotnet add package NetBarcode --version 1.4.0
<PackageReference Include="NetBarcode" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetBarcode --version 1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NetBarcode, 1.4.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

NetBarcode

NetBarcode Donwloads

Barcode generation library written in .NET Core compatible with .NET Standard 2.

Supported barcodes:

  • CODE128
    • CODE128 (automatic mode switching)
    • CODE128 A/B/C
  • EAN
    • EAN-13
    • EAN-8
  • CODE11
  • CODE39
  • CODE39E
  • CODE93
  • Codabar

Install

On Nuget:

PM> Install-Package NetBarcode

.NET CLI

> dotnet add package NetBarcode

Requirements

This library uses System.Drawing.Common which requires the following installed packages:

sudo apt install libc6-dev 
sudo apt install libgdiplus

Mac

brew update
brew install mono-libgdiplus

Using

var barcode = new Barcode("543534"); // default: Code128

Change barcode type

var barcode = new Barcode("543534", Type.Code93);

Show label

var barcode = new Barcode("543534", Type.Code128, true);

Saving in a image file

var value = barcode.SaveImageFile("./path"); // default: ImageFormat.Jpeg

Change image format

var value = barcode.SaveImageFile("./path", ImageFormat.Png); // formats: Bmp, Gif, Jpeg, Png...

Get string with base64 image to use in HTML

var value = barcode.GetBase64Image();

To manipulate the image

var image = barcode.GetImage();

License

NetBarcode is shared under the MIT license. This means you can modify and use it however you want, even for comercial use. But please give this repository a ⭐️.

Donate

If you found it useful, please consider paying me a coffee.

paypal

paypal

NetBarcode

NetBarcode Donwloads

Barcode generation library written in .NET Core compatible with .NET Standard 2.

Supported barcodes:

  • CODE128
    • CODE128 (automatic mode switching)
    • CODE128 A/B/C
  • EAN
    • EAN-13
    • EAN-8
  • CODE11
  • CODE39
  • CODE39E
  • CODE93
  • Codabar

Install

On Nuget:

PM> Install-Package NetBarcode

.NET CLI

> dotnet add package NetBarcode

Requirements

This library uses System.Drawing.Common which requires the following installed packages:

sudo apt install libc6-dev 
sudo apt install libgdiplus

Mac

brew update
brew install mono-libgdiplus

Using

var barcode = new Barcode("543534"); // default: Code128

Change barcode type

var barcode = new Barcode("543534", Type.Code93);

Show label

var barcode = new Barcode("543534", Type.Code128, true);

Saving in a image file

var value = barcode.SaveImageFile("./path"); // default: ImageFormat.Jpeg

Change image format

var value = barcode.SaveImageFile("./path", ImageFormat.Png); // formats: Bmp, Gif, Jpeg, Png...

Get string with base64 image to use in HTML

var value = barcode.GetBase64Image();

To manipulate the image

var image = barcode.GetImage();

License

NetBarcode is shared under the MIT license. This means you can modify and use it however you want, even for comercial use. But please give this repository a ⭐️.

Donate

If you found it useful, please consider paying me a coffee.

paypal

paypal

NuGet packages (3)

Showing the top 3 NuGet packages that depend on NetBarcode:

Package Downloads
Bastion.Statements.Api
Package Description
Zideun.DFeBR.EmissorNFe
Novo framework para emissão e logística de documentos fiscais para a plataforma .NET, compatível com .NET Core e .NET 4.x
DFeBR.EmissorNFe
Novo framework para emissão e logística de documentos fiscais para a plataforma .NET, compatível com .NET Core e .NET 4.x

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.4.0 2,482 12/30/2020
1.3.0 816 12/24/2020
1.2.0 189 12/24/2020
1.1.0 20,719 8/22/2020
1.0.8 19,515 3/17/2020
1.0.7 43,661 11/27/2018
1.0.6 5,992 9/1/2018
1.0.5 5,257 7/17/2018
1.0.2 543 7/10/2018
1.0.0 7,755 12/22/2017