1333.1. Zend\Barcode\Object\Upce
Class for generate UpcA barcode
1333.1.1. Methods
1333.1.1.1. getDefaultOptions
-
getDefaultOptions()
Default options for Postnet barcode
1333.1.1.2. getText
-
getText()
Retrieve text to encode
1333.1.1.3. calculateBarcodeWidth
-
calculateBarcodeWidth()
Width of the barcode (in pixels)
1333.1.1.4. prepareBarcode
-
prepareBarcode()
Prepare array to draw barcode
1333.1.1.5. drawText
-
drawText()
Partial function to draw text
1333.1.1.6. validateSpecificText
-
validateSpecificText()
Particular validation for Upce barcode objects
(to suppress checksum character substitution)
Parameters: |
|
Throws ExceptionBarcodeValidationException: |
| |
1333.1.1.7. getChecksum
-
getChecksum()
Get barcode checksum
Parameters: | string – |
Return type: | int |