Class: C128BObject: Difference between revisions

From IHRIS Wiki
No edit summary
(Redirected page to Class: C128BObject (4.1.12))
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
This article describes the class ''C128BObject''.
#REDIRECT [[Class: C128BObject (4.1.12)]]
*Extends the class: BarcodeObject.
*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.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L47 modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 47
*Author: Karim Mribti, Nicola Asuni
 
*Author: Karim Mribti, Nicola Asuni
*Since: 2001-03-25
 
*Since: 2001-03-25
Code 128-B Barcode Render Class for PHP using the GD graphics library.<br> Code 128-B is a continuous, multilevel and full ASCII code.  @name BarcodeObject    @license http://www.gnu.org/copyleft/lesser.html LGPL Code 128-B Barcode Render Class for PHP using the GD graphics library.<br> Code 128-B is a continuous, multilevel and full ASCII code.  @name BarcodeObject    @license http://www.gnu.org/copyleft/lesser.html LGPL
==Methods==
===DrawCheckChar()===
Draws the check-char code.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L327 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 327
*Signature: private function DrawCheckChar($DrawPos,$yPos,$ySize,$xres)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $DrawPos <br/>Drawing position.
** [http://www.php.net/manual/en/language.types.integer.php int ] $yPos <br/>Vertical position.
** [http://www.php.net/manual/en/language.types.integer.php int ] $ySize <br/>Vertical size.
** [http://www.php.net/manual/en/language.types.integer.php int ] $xres <br/>Horizontal resolution.
*Returns: [http://www.php.net/manual/en/language.types.integer.php int ]<br/>drawing position. @access private
===DrawObject()===
Draws the barcode object.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L346 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 346
*Signature: public function DrawObject($xres)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $xres <br/>Horizontal resolution.
*Returns: [http://www.php.net/manual/en/language.types.boolean.php bool ]<br/>true in case of success.
===DrawStart()===
Draws the start code.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L279 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 279
*Signature: private function DrawStart($DrawPos,$yPos,$ySize,$xres)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $DrawPos <br/>Drawing position.
** [http://www.php.net/manual/en/language.types.integer.php int ] $yPos <br/>Vertical position.
** [http://www.php.net/manual/en/language.types.integer.php int ] $ySize <br/>Vertical size.
** [http://www.php.net/manual/en/language.types.integer.php int ] $xres <br/>Horizontal resolution.
*Returns: [http://www.php.net/manual/en/language.types.integer.php int ]<br/>drawing position. @access private
===DrawStop()===
Draws the stop code.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L302 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 302
*Signature: private function DrawStop($DrawPos,$yPos,$ySize,$xres)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $DrawPos <br/>Drawing position.
** [http://www.php.net/manual/en/language.types.integer.php int ] $yPos <br/>Vertical position.
** [http://www.php.net/manual/en/language.types.integer.php int ] $ySize <br/>Vertical size.
** [http://www.php.net/manual/en/language.types.integer.php int ] $xres <br/>Horizontal resolution.
*Returns: [http://www.php.net/manual/en/language.types.integer.php int ]<br/>drawing position. @access private
===GetBarSize()===
Returns the bar size.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L189 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 189
*Signature: private function GetBarSize($xres,$char)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $xres <br/>Horizontal resolution.
** char $char <br/>Character.
*Returns: [http://www.php.net/manual/en/language.types.integer.php int ]<br/>barcode size. @access private
===GetCharIndex()===
Returns the character index.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L173 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 173
*Signature: private function GetCharIndex($char)
*Parameters:
** char $char <br/>character.
*Returns: [http://www.php.net/manual/en/language.types.integer.php int ]<br/>character index or -1 in case of error. @access private
===GetCheckCharValue()===
Returns the check-char value.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L260 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 260
*Signature: private function GetCheckCharValue()
*Returns: string.@access private
===GetSize()===
Returns barcode size.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L220 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 220
*Signature: private function GetSize($xres)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $xres <br/>Horizontal resolution.
*Returns: barcode<br/>size. @access private
===__construct()===
Class Constructor.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.2-release/annotate/head:/modules/tcpdf/tcpdf/barcode/c128bobject.php#L56 textlayout/modules/tcpdf/tcpdf/barcode/c128bobject.php] on line 56
*Signature: public function __construct($Width,$Height,$Style,$Value)
*Parameters:
** [http://www.php.net/manual/en/language.types.integer.php int ] $Width <br/>Image width in pixels.
** [http://www.php.net/manual/en/language.types.integer.php int ] $Height <br/>Image height in pixels.
** [http://www.php.net/manual/en/language.types.integer.php int ] $Style <br/>Barcode style.
** [http://www.php.net/manual/en/language.types.integer.php int ] $Value <br/>value to print on barcode.
 
 
[[Category:Class Documentation]]

Latest revision as of 10:41, 18 August 2015