Barcode"

From Documentation
Line 21: Line 21:
 
  The barcaode supports controls property since 8.5.2
 
  The barcaode supports controls property since 8.5.2
  
=Supported Events=
+
=Supported type=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
! <center>Event Type</center>
+
! <center>Barcode Type</center>
 
|-
 
|-
| None
+
| 1D
| None
+
| 'CODE39', 'CODE128', 'CODE128A', 'CODE128B', 'CODE128C', 'EAN13', 'EAN8', 'EAN5', 'EAN2', 'UPC', 'ITF14',
|}
+
'ITF', 'MSI', 'MSI10', 'MSI11', 'MSI1010', 'MSI1110', 'PHARMACODE', 'CODABAR', 'QR'
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]]
+
| 2D
 
+
| 'QR'
=Supported Children=
 
 
 
*NONE
 
 
 
=Use Cases=
 
 
 
{| border='1px' | width="100%"
 
! Version !! Description !! Example Location
 
|-
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
|}
 
 
 
=Version History=
 
{{LastUpdated}}
 
 
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
|-
 
| 8.5.2
 
| Apirl, 2018
 
| <javadoc>org.zkoss.zkmax.barcode.Barcode</javadoc>
 
|}
 
 
 
{{ZKComponentReferencePageFooter}}
 

Revision as of 10:34, 24 April 2018

Barcode

Employment/Purpose

An audio component is used to generate a barcode at the browser, and decode the barcode on the server side. There are many properties to dealing with the barcode component. First, you could use the type property to specify the type of barcode, for example: qrcode, code128, code 128A...., after choose the type you want, you could generate the barcode of the code. And every barcode image could response to a certain value, the property value is for barcode image which wants to stand for.

Example

 <barcode type="qr" value="https://www.zkoss.org/" height="100px"/>

Qrcode.png

 <barcode type="code128" value="https://www.zkoss.org/" height="100px"/>

Code128.png

The barcaode supports controls property since 8.5.2

Supported type

Name
Barcode Type
1D 'CODE39', 'CODE128', 'CODE128A', 'CODE128B', 'CODE128C', 'EAN13', 'EAN8', 'EAN5', 'EAN2', 'UPC', 'ITF14',

'ITF', 'MSI', 'MSI10', 'MSI11', 'MSI1010', 'MSI1110', 'PHARMACODE', 'CODABAR', 'QR'

2D 'QR'