IDAutomation.com, Inc. IDAutomation.com, Inc.
Visual Studio

Using IDAutomation Barcode Components in Visual Studio

Add barcodes to Windows Forms, WPF, MAUI and web projects with C# or VB.NET.

From download to barcode

Complete source code and Visual Studio project examples are included in all downloads of the generator. Open one to see how the product works.

  • Reference the supplied DLL or compile the source file into your project
  • Examples were built with Visual Studio 2019 and open in later versions
  • A Windows example application is provided with a prebuilt executable in its bin folder
  • MAUI example projects are provided in the purchased QR Code and Data Matrix
Visual Studio window with Solution Explorer showing the IDAutomation assembly reference and C# code that encodes a Code 128 barcode

Six steps in Visual Studio

  1. Download and extractDownload the demo or licensed package and extract it.
  2. Open an exampleOpen one of the included Visual Studio example projects, in C# or VB.NET, to see how the product works.
  3. Add it to your projectAdd a reference in your .NET project to the DLL, or add the supplied source file with Add Existing Item.
  4. Choose outputSelect font text, vector (SVG, EPS or HTML) or bitmap output for the symbol.
  5. Install the font if neededFor font output, install the barcode font and set the control font. The generator itself does not need a font.
  6. Test with a decoderScan or decode the result to verify lower ASCII, GS1 data and UTF-8 encoding.

Choose the approach for your project type

Project types
Project typeApproach
Windows Forms and WPFGenerate a bitmap byte array and show it in a picture box, or set a font on a label.
ASP.NET Core and IISUse the streaming component or generate images in your own controllers.
MAUI and XamarinUse .NET Standard 2.0 source or the assembly in a shared project; place the IDAutomation 2D font in each platform’s Assets folder for font output.
Azure Serverless FunctionsA separate guide covers Azure Functions integration.

Open the example in Visual Studio

Download the demo and start with the included projects.

GET STARTED