Barcodes
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 Bar Codes are page elements and can be placed on a page in the same manner as other page elements. The following Bar Codes 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
Adding a Bar Code to a page is very straight forward:
// Add a bar code to a page.
page.Elements.Add( new Code128( "Barcode Data", 0, 0, 20 ) );
' Add a bar code to a page.
MyPage.Elements.Add( New Code128( "Barcode Data", 0, 0, 20 ) )