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