You can print barcodes with the InlineBarcode element:
<TableCell>
<Paragraph TextAlignment="Center">
<vbr:InlineBarcode BarcodeType="QRCODE" QRPixelsPerModule="20"
VBContent="CurrentFacilityCharge.FacilityChargeID" />
</Paragraph>
<Paragraph TextAlignment="Center">
<vbr:InlineBarcode BarcodeType="CODE128" BarcodeWidth="800" BarcodeHeight="100"
VBContent="CurrentFacilityCharge.FacilityChargeID" />
</Paragraph>
</TableCell>
The "BarcodeType" property allows the following values:
public enum BarcodeType
{
UNSPECIFIED = 0,
UPCA = 1,
UPCE = 2,
UPC_SUPPLEMENTAL_2DIGIT = 3,
UPC_SUPPLEMENTAL_5DIGIT = 4,
EAN13 = 5,
EAN8 = 6,
Interleaved2of5 = 7,
Interleaved2of5_Mod10 = 8,
Standard2of5 = 9,
Standard2of5_Mod10 = 10,
Industrial2of5 = 11,
Industrial2of5_Mod10 = 12,
CODE39 = 13,
CODE39Extended = 14,
CODE39_Mod43 = 15,
Codabar = 16,
PostNet = 17,
BOOKLAND = 18,
ISBN = 19,
JAN13 = 20,
MSI_Mod10 = 21,
MSI_2Mod10 = 22,
MSI_Mod11 = 23,
MSI_Mod11_Mod10 = 24,
Modified_Plessey = 25,
CODE11 = 26,
USD8 = 27,
UCC12 = 28,
UCC13 = 29,
LOGMARS = 30,
CODE128 = 31,
CODE128A = 32,
CODE128B = 33,
CODE128C = 34,
ITF14 = 35,
CODE93 = 36,
TELEPEN = 37,
FIM = 38,
PHARMACODE = 39,
QRCODE = 99
}
For QR barcodes (2D) , the QRPixelsPerModule property must be set, with which you define how large a module is in pixels (box).
For simple barcodes (1D) , the properties BarcodeWidth and BarcodeHeight (pixel) must be set, with which you define how big the bitmap should be that should be generated.