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'


Top ↑

Return Return

(string) HTML code.


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf_barcodes_2d.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.