Este contenido no está disponible en el idioma seleccionado.
18.3. Bar codes
Seam can use iText to generate barcodes in a wide variety of formats. These barcodes can be embedded in a PDF document or displayed as an image on a web page. However, barcodes cannot currently display barcode text when used with HTML images.
Expand
<p:barCode>
Description
Displays a barcode image.
Attributes
type — A barcode type supported by iText. Valid values include: EAN13, EAN8, UPCA, UPCE, SUPP2, SUPP5, POSTNET, PLANET, CODE128, CODE128_UCC, CODE128_RAW and CODABAR.
code — The value to be encoded by the barcode.
xpos — For PDFs, the absolute x position of the barcode on the page.
ypos — For PDFs, the absolute y position of the barcode on the page.
rotDegrees — For PDFs, the rotation factor of the barcode in degrees.
barHeight — The height of the bars in the barcode.
minBarWidth — The minimum bar width.
barMultiplier — The bar multiplier for wide bars or the distance between bars for POSTNET and PLANET code.
Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.
Hacer que el código abierto sea más inclusivo
Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.
Acerca de Red Hat
Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.