Class: I25Object: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 2: Line 2:
*Extends the class: BarcodeObject.
*Extends the class: BarcodeObject.
*Location: Part of the module [[TextLayout Tools Module List#tcpdf|tcpdf]] in the package [https://launchpad.net/textlayout TextLayout Tools]
*Location: Part of the module [[TextLayout Tools Module List#tcpdf|tcpdf]] in the package [https://launchpad.net/textlayout TextLayout Tools]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.1-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php modules/tcpdf/tcpdf/barcode/i25object.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php#L48 modules/tcpdf/tcpdf/barcode/i25object.php] on line 48
*Author: Karim Mribti, Nicola Asuni
*Author: Karim Mribti, Nicola Asuni


Line 13: Line 13:
===DrawObject()===
===DrawObject()===
Draws the barcode object.
Draws the barcode object.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php#L164 textlayout/modules/tcpdf/tcpdf/barcode/i25object.php] on line 164
*Signature: public function DrawObject($xres)
*Signature: public function DrawObject($xres)
*Parameters:
*Parameters:
Line 19: Line 20:
===DrawStart()===
===DrawStart()===
Draws the start code.
Draws the start code.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php#L129 textlayout/modules/tcpdf/tcpdf/barcode/i25object.php] on line 129
*Signature: private function DrawStart($DrawPos,$yPos,$ySize,$xres)
*Signature: private function DrawStart($DrawPos,$yPos,$ySize,$xres)
*Parameters:
*Parameters:
Line 28: Line 30:
===DrawStop()===
===DrawStop()===
Draws the stop code.
Draws the stop code.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php#L149 textlayout/modules/tcpdf/tcpdf/barcode/i25object.php] on line 149
*Signature: private function DrawStop($DrawPos,$yPos,$ySize,$xres)
*Signature: private function DrawStop($DrawPos,$yPos,$ySize,$xres)
*Parameters:
*Parameters:
Line 37: Line 40:
===GetSize()===
===GetSize()===
Returns barcode size.
Returns barcode size.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php#L80 textlayout/modules/tcpdf/tcpdf/barcode/i25object.php] on line 80
*Signature: private function GetSize($xres)
*Signature: private function GetSize($xres)
*Parameters:
*Parameters:
Line 43: Line 47:
===__construct()===
===__construct()===
Class Constructor.
Class Constructor.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php#L57 textlayout/modules/tcpdf/tcpdf/barcode/i25object.php] on line 57
*Signature: public function __construct($Width,$Height,$Style,$Value)
*Signature: public function __construct($Width,$Height,$Style,$Value)
*Parameters:
*Parameters:

Revision as of 08:48, 10 November 2009

This article describes the class I25Object.

  • Author: Karim Mribti, Nicola Asuni
  • Since: 2001-03-25
  • Since: 2001-03-25

I25 Barcode Render Class for PHP using the GD graphics library.<br< Interleaved 2 of 5 is a numeric only bar code with a optional check number. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL I25 Barcode Render Class for PHP using the GD graphics library.<br< Interleaved 2 of 5 is a numeric only bar code with a optional check number. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL

Methods

DrawObject()

Draws the barcode object.

DrawStart()

Draws the start code.

DrawStop()

Draws the stop code.

GetSize()

Returns barcode size.

__construct()

Class Constructor.