Skip to main content

Barcodes

Version: 8.0

Bar Codes

DynamicPDF Generator for .NET has built-in support for Barcodes. These Barcodes are rendered using vector based graphics and can be scaled to any size without losing resolution. The Barcodes are page elements and can be placed on a page in the same manner as other page elements. The following Barcodes are supported:

  • Codabar
  • Code 128
  • Code 2 of 5
  • Code 3 of 9
  • Postnet
  • Interleaved 2 of 5
  • EAN/JAN 13
  • EAN/JAN 13 Supplement 2
  • EAN/JAN 13 Supplement 5
  • UPC Version A
  • UPC Version A Supplement 2
  • UPC Version A Supplement 5
  • EAN/JAN 8
  • EAN/JAN 8 Supplement 2
  • EAN/JAN 8 Supplement 5
  • UPC Version E
  • UPC Version E Supplement 2
  • UPC Version E Supplement 5
  • PDF417
  • MacroPDF417
  • Intelligent Mail Barcode
  • Data Matrix Barcode
  • QR Code
  • MSI Barcode (Modified Plessey)
  • RM4SCC (Royal Mail) Barcode

Adding a Barcode to a page is very straight forward:

// Add a barcode to a page.
page.Elements.Add( new Code128( "Barcode Data", 0, 0, 20 ) );
' Add a barcode to a page.
MyPage.Elements.Add( New Code128( "Barcode Data", 0, 0, 20 ) )