Example usage for Java com.itextpdf.text.pdf BarcodeEAN fields, constructors, methods, implement or subclass
The text is from its open source code.
BarcodeEAN() Creates new BarcodeEAN |
java.awt.Image | createAwtImage(java.awt.Color foreground, java.awt.Color background) Creates a java.awt.Image . |
Image | createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates an Image with the barcode. |
PdfTemplate | createTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates a template with the barcode. |
void | setBarHeight(float barHeight) Sets the height of the bars. |
void | setBaseline(float baseline) Sets the text baseline. |
void | setCode(String code) Sets the code to generate. |
void | setCodeType(int codeType) Sets the code type. |
void | setFont(BaseFont font) Sets the text font. |
void | setGuardBars(boolean guardBars) Sets the property to show the guard bars for barcode EAN. |
void | setSize(float size) Sets the size of the text. |
void | setTextAlignment(int textAlignment) Sets the text alignment. |
void | setX(float x) Sets the minimum bar width. |