Skip to content

PdfGraphics.DrawBarcode Method

DrawBarcode(PdfBarcode,Double,Double)

Draws a barcode at the specified position.

C#
public void DrawBarcode(PdfBarcode barcode, double x, double y)

Parameters

barcode PdfBarcode

PdfBarcode to draw.

x Double

The x-coordinate of the upper-left corner of the drawn barcode.

y Double

The y-coordinate of the upper-left corner of the drawn barcode.