Back to Devexpress

Get Started - Generate a QR Code

officefileapi-15114-barcode-generation-api-getting-started.md

latest1.7 KB
Original Source

Get Started - Generate a QR Code

  • Apr 15, 2025
  • 3 minutes to read

Important

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use these examples in production code.

This article describes how to get started with the barcode generation component for .NET Framework and .NET Core.

Create a .NET Framework Application

  1. Create a new Windows Forms App (.NET Framework) project.

  2. Add references to the following libraries:

  3. Drop the Button and PictureBox items from the Toolbox onto the form.

  4. Add the following code to the method that handles the button’s Click event.

  5. Run the project and click the button. The PictureBox control displays the resulting QR code.

View Example: Create and display a BarCode in a web application

Create a .NET Core Application

  1. Start Microsoft Visual Studio and create a new Console Application (.NET Core) project.

  2. Install the DevExpress.Document.Processor NuGet package.

  3. Paste the code below in the Main method of the Program.cs file ( Main procedure of the Module1.vb file for Visual Basic).

  4. Run the project. The resulting image is shown below:

See Also

BarCode

Symbology

QRCodeOptions