Skip to content

Latest commit

 

History

History

Generate-Barcode-labels

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Generate barcode labels in C#

This example shows how to generate a barcode using Syncfusion PDF library and insert the generated barcode as an image into the Word document with MergeImageField event using Syncfusion Word library (Essential DocIO).

How to run the project

  1. Download this project to a location in your disk.

  2. Open the solution file using Visual Studio.

  3. Rebuild the solution to install the required NuGet packages.

  4. Run the application.

Screenshots

By running this application, you will get the barcode labels as follows.

Generate-Barcode-labels-output

To generate barcode labels, design your template Word document with the required layout, formatting, graphics, and merge fields using Microsoft Word as follows.

Note: In this Word template document, NEXT field is inserted at end of each cell and this field instructs to merge the next record from the data source. You can view the NEXT field by opening this template document in Microsoft Word application and press Alt+F9 shortcut key to toggle field codes.

Generate-Barcode-labels-template

Take a moment to peruse the documentation, where you will find other Word document processing operations along with features like mail merge, merge, and split documents, find and replace text in the Word document, protect Word documents, and most importantly PDF and image conversions with code examples.