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'


Top ↑

Return Return

(string) SVG 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.