![]() |
Aspose.Barcode for PHP via Java
22.4
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
| getPatchCode () | |
| getXDimension () | |
| setXDimension (Unit $value) | |
| getBarWidthReduction () | |
| setBarWidthReduction (Unit $value) | |
| getBarHeight () | |
| setBarHeight (Unit $value) | |
| getBarColor () | |
| setBarColor (string $value) | |
| getPadding () | |
| setPadding (Padding $value) | |
| getChecksumAlwaysShow () | |
| setChecksumAlwaysShow (int $value) | |
| isChecksumEnabled () | |
| setChecksumEnabled (int $value) | |
| getEnableEscape () | |
| setEnableEscape (bool $value) | |
| getWideNarrowRatio () | |
| setWideNarrowRatio (float $value) | |
| getCodeTextParameters () | |
| getFilledBars () | |
| setFilledBars (bool $value) | |
| getPostal () | |
| getAustralianPost () | |
| getDataBar () | |
| getCodablock () | |
| getDataMatrix () | |
| getCode16K () | |
| getDotCode () | |
| getITF () | |
| getPdf417 () | |
| getQR () | |
| getSupplement () | |
| getMaxiCode () | |
| getAztec () | |
| getCodabar () | |
| getCoupon () | |
| getJavaClass () | |
| getJavaClassName () | |
| isNull () | |
| printJavaClassName () | |
Protected Member Functions | |
| init () | |
| setJavaClass ($javaClass) | |
Barcode generation parameters.
| BarcodeParameters::getAustralianPost | ( | ) |
AustralianPost barcode parameters.
| BarcodeParameters::getAztec | ( | ) |
Aztec parameters.
| BarcodeParameters::getBarColor | ( | ) |
Bars color. Default value: #000000
| BarcodeParameters::getBarHeight | ( | ) |
Height of 1D barcodes' bars in Unit value. Ignored if AutoSizeMode property is set to AutoSizeMode::NEAREST or AutoSizeMode::INTERPOLATION.
| BarcodeException |
| BarcodeParameters::getBarWidthReduction | ( | ) |
Get bars reduction value that is used to compensate ink spread while printing.
| BarcodeParameters::getChecksumAlwaysShow | ( | ) |
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
| BarcodeParameters::getCodabar | ( | ) |
Codabar parameters.
| BarcodeParameters::getCodablock | ( | ) |
Codablock parameters.
| BarcodeParameters::getCode16K | ( | ) |
Code16K parameters.
| BarcodeParameters::getCodeTextParameters | ( | ) |
Codetext parameters.
| BarcodeParameters::getCoupon | ( | ) |
Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
| BarcodeParameters::getDataBar | ( | ) |
Databar parameters.
| BarcodeParameters::getDataMatrix | ( | ) |
DataMatrix parameters.
| BarcodeParameters::getDotCode | ( | ) |
DotCode parameters.
| BarcodeParameters::getEnableEscape | ( | ) |
Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters. Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \CR stands for CR.
| BarcodeParameters::getFilledBars | ( | ) |
Only for 1D barcodes.
| BarcodeException |
| BarcodeParameters::getITF | ( | ) |
ITF parameters.
|
inherited |
|
inherited |
| BarcodeParameters::getMaxiCode | ( | ) |
MaxiCode parameters.
| BarcodeParameters::getPadding | ( | ) |
Barcode paddings. Default value: 5pt 5pt 5pt 5pt.
| BarcodeParameters::getPatchCode | ( | ) |
PatchCode parameters.
| BarcodeParameters::getPdf417 | ( | ) |
PDF417 parameters.
| BarcodeParameters::getPostal | ( | ) |
Postal parameters. Used for Postnet, Planet.
| BarcodeParameters::getQR | ( | ) |
QR parameters.
| BarcodeParameters::getSupplement | ( | ) |
Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
| BarcodeParameters::getWideNarrowRatio | ( | ) |
Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
| IllegalArgumentException | The WideNarrowRatio parameter value is less than or equal to 0. |
| BarcodeParameters::getXDimension | ( | ) |
x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if AutoSizeMode property is set to AutoSizeMode::NEAREST or AutoSizeMode::INTERPOLATION.
|
protected |
Reimplemented from BaseJavaClass.
| BarcodeParameters::isChecksumEnabled | ( | ) |
Enable checksum during generation 1D barcodes. Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible. Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar Checksum always used: Rest symbology
|
inherited |
|
inherited |
| BarcodeParameters::setBarColor | ( | string | $value | ) |
Bars color. Default value: #000000.
| BarcodeParameters::setBarHeight | ( | Unit | $value | ) |
Height of 1D barcodes' bars in Unit value. Ignored if AutoSizeMode property is set to utoSizeMode::NEAREST or AutoSizeMode::INTERPOLATION.
| BarcodeException |
| BarcodeParameters::setBarWidthReduction | ( | Unit | $value | ) |
Sets bars reduction value that is used to compensate ink spread while printing.
| BarcodeParameters::setChecksumAlwaysShow | ( | int | $value | ) |
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
| BarcodeParameters::setChecksumEnabled | ( | int | $value | ) |
Enable checksum during generation 1D barcodes. Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible. Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar Checksum always used: Rest symbology
| BarcodeParameters::setEnableEscape | ( | bool | $value | ) |
Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.
Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \CR stands for CR.
| BarcodeParameters::setFilledBars | ( | bool | $value | ) |
Sets a value indicating whether bars filled. Only for 1D barcodes.
| bool | $value | Sets a value indicating whether bars filled. |
| BarcodeException |
|
protectedinherited |
| BarcodeParameters::setPadding | ( | Padding | $value | ) |
Barcode paddings. Default value: 5pt 5pt 5pt 5pt.
| BarcodeParameters::setWideNarrowRatio | ( | float | $value | ) |
Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
| IllegalArgumentException |
| float | $value | The WideNarrowRatio parameter value is less than or equal to 0. |
| BarcodeParameters::setXDimension | ( | Unit | $value | ) |
x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if AutoSizeMode property is set to AutoSizeMode::NEAREST or AutoSizeMode::INTERPOLATION.
| BarcodeException |