Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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.
Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.
Mehr Inklusion in Open Source
Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.
Über Red Hat
Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.