TCPDF2DBarcode::getBarcodeHTML( $w = 10, $h = 10, $color = 'black' )
Return an HTML representation of barcode.
Description Description
Parameters Parameters
- $w
-
(Optional) (int) Width of a single rectangle element in pixels.
Default value: 10
- $h
-
(Optional) (int) Height of a single rectangle element in pixels.
Default value: 10
- $color
-
(Optional) (string) Foreground color for bar elements (background is transparent).
Default value: 'black'
Return Return
(string) HTML code.
Source Source
File: includes/lib/tcpdf/tcpdf_barcodes_2d.php