Class: C39Object (4.0.4)
From IHRIS Wiki
For other versions, see Class: C39Object (versions) .
This article describes the class C39Object .
- Extends the class: BarcodeObject.
- Location: Part of the module tcpdf in the package TextLayout Tools 4.0.4-release
- Source: Defined in the file modules/tcpdf/tcpdf/barcode/c39object.php on line 49
- Author: Karim Mribti, Nicola Asuni
- Author: Karim Mribti, Nicola Asuni
- Since: 2001-03-25
- Since: 2001-03-25
Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL
Methods
DrawObject()
Draws the barcode object.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c39object.php on line 221
- Signature: public function DrawObject($xres)
- Parameters:
- int $xres
Horizontal resolution.
- int $xres
- Returns: bool
true in case of success.
DrawStart()
Draws the start code.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c39object.php on line 164
- Signature: private function DrawStart($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
DrawStop()
Draws the stop code.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c39object.php on line 195
- Signature: private function DrawStop($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
GetCharIndex()
Returns the character index.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c39object.php on line 116
- Signature: private function GetCharIndex($char)
- Parameters:
- char $char
character.
- char $char
- Returns: int
character index or -1 in case of error. @access private
GetSize()
Returns barcode size.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c39object.php on line 131
- Signature: private function GetSize($xres)
- Parameters:
- int $xres
Horizontal resolution.
- int $xres
- Returns: barcode
size. @access private
__construct()
Class Constructor.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c39object.php on line 58
- Signature: public function __construct($Width,$Height,$Style,$Value)
- Parameters: