QR Code Image Sample - pqScan.com
.NET UPC-A Barcode Creator Windows Forms Control Encoding UPC-A Image in .NET WinForms Online Demo Download Trial Purchase Now
.NET
Winforms
ASP.NET C#-VB

How to Generate UPC-A in .NET WinForms

back to home  >  .NET Barcode Generator SDK  >   Generate Barcodes in Winforms  >  Generate UPC-A in Winforms

.NET WinformsUPC-A Creator is one of the barcode generation functions in pqScan Barcode Creator For Winforms .NET. Developers can generate a UPC-A barcode from API method or from a Barcode Winfroms Control, which can save much time for you.

Similar to UPC-A, you may be interested in creating EAN-13 in WinForms or encoding EAN-8 in Window Forms.

Creating UPC-A by .NET WinfromsBarcode Creator Control

Dragging and dropping aBarcode Windows Froms control to render a UPC-A image onto the form is very uncomplicated even for a beginner.

  1. Download and the .NET Barcode Creator WinForms Control package and unzip it to development computer.
  2. In Visual Studio Windows Form project, right click the toolbox and select menu Choose Items...
  3. In the pup-up dialog, click Browse... tonavigate to "PQScan.BarcodeCreator.dll" file.
  4. Check the pqScan Barcode Creator Winformscontrol "BarcodeWinControl" to add it to toolbox.
  5. Drag and drop "BarcodeWinControl" item to your Windows Froms.
  6. Run the .NET Windows Form project to view the UPC-A barcode generated on the Form.
  7. You can specify the UPC-A imagefrom right-side "properties" setting pane or in run-time code.

GeneratingUPC-A by .NET Barcode Creator API in Windows Form class

Using the barcode generating method in .NET Barcode Creator to generate UPC-A in Windows Form class, it costs very little time.

  1. DownloadUPC-A barcode generator SDK.
  2. Add "PQScan.BarcodeCreator.dll" to your .NET Winforms project reference.
  3. Copy and paste the following C# code to your .NET Winfroms class:
using System;
using System.Windows.Forms;
using PQScan.BarcodeCreator;

namespace UPCAGenerateInWinforms
{
    public partial classForm1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            Barcode upca = new Barcode();

            upca.Data = "12345678901";
            upca.BarType = BarCodeType.UPCA;
            upca.Width = 200;
            upca.Height = 100;
            upca.ShowText = true;

            upca.CreateBarcode("f:/upca-winforms.jpeg");
        }
    }
}

generate upca in .net winforms

.NET Barcode Creator QR Code Creator in Winforms Data Matrix Creator in Winforms PDF 417 Creator in Winforms Aztec Code Creator in Winforms EAN 13 Creator in Winforms EAN 8 Creator in Winforms Code 128 Creator in Winforms Code 39 Creator in Winforms