iText 7 7.1.9 API
|
Public Member Functions |
|
abstract Rectangle | GetBarcodeSize () |
Gets the maximum area that the barcode and the text, if any, will occupy. More... |
|
abstract Rectangle | PlaceBarcode (PdfCanvas canvas, Color foreground) |
Places the barcode in a PdfCanvas . More... |
|
virtual PdfFormXObject | CreateFormXObject (PdfDocument document) |
Creates a PdfFormXObject with the barcode. More... |
|
abstract PdfFormXObject | CreateFormXObject (Color foreground, PdfDocument document) |
Creates a PdfFormXObject with the barcode. More... |
|
|
pure virtual |
Creates a PdfFormXObject with the barcode.
foreground | The color of the pixels. It can be null |
document | The document |
Implemented in iText.Barcodes.BarcodePDF417, iText.Barcodes.BarcodeDataMatrix, and iText.Barcodes.BarcodeQRCode.
|
inlinevirtual |
Creates a PdfFormXObject with the barcode.
Creates a PdfFormXObject with the barcode. Default foreground color will be used.
document | The document |
|
pure virtual |
Gets the maximum area that the barcode and the text, if any, will occupy.
Gets the maximum area that the barcode and the text, if any, will occupy. The lower left corner is always (0, 0).
Implemented in iText.Barcodes.BarcodePDF417, iText.Barcodes.BarcodeDataMatrix, and iText.Barcodes.BarcodeQRCode.
|
pure virtual |
Places the barcode in a PdfCanvas
.
Places the barcode in a PdfCanvas
. The barcode is always placed at coordinates (0, 0). Use the translation matrix to move it elsewhere.
canvas | the PdfCanvas where the barcode will be placed |
foreground | the foreground color. It can be null |
Implemented in iText.Barcodes.BarcodePDF417, iText.Barcodes.BarcodeDataMatrix, and iText.Barcodes.BarcodeQRCode.