VIDEOS

How to Create and Stamp Barcodes in PDF Documents Using IronBarcode

Jordi Bardia
Jordi Bardia
November 1, 2023
Share:


In this tutorial, we explore the process of stamping barcodes on PDF files using Iron Barcode. To begin, ensure Iron Barcode is installed on your machine. The process starts by importing the Iron Barcode namespace and utilizing the create barcode method, which requires the content, encoding type, and dimensions for the barcode. In this example, a URL is encoded into a 100x100 pixel QR code. Next, specify the PDF pages to be modified by creating a list of integers. Use the stamp to existing PDF Pages method to apply the barcode. This involves providing the PDF path, X and Y coordinates for placement, and pages for modification, with an optional password for protected files. Running the program applies the barcode to the defined pages, as demonstrated in the output PDF. The QR code, when scanned, redirects to the encoded URL. The tutorial concludes by inviting viewers to try a 30-day trial of the software for firsthand experience.

Get stated with IronBarcode now.
green arrow pointer

Jordi Bardia
Software Engineer
Jordi is most proficient in Python, C# and C++, when he isn’t leveraging his skills at Iron Software; he’s game programming. Sharing responsibilities for product testing, product development and research, Jordi adds immense value to continual product improvement. The varied experience keeps him challenged and engaged, and he says it’s one of his favorite aspects of working with Iron Software. Jordi grew up in Miami, Florida and studied Computer Science and Statistics at University of Florida.
< PREVIOUS
How to Create Barcodes as HTML in C# 1
NEXT >
How to Generate QR codes and Barcodes in C# for .NET 5 using Iron Barcode