Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
getUseAntiAlias () | |
setUseAntiAlias (bool $value) | |
getBackColor () | |
setBackColor (string $hexValue) | |
getResolution () | |
setResolution (float $value) | |
getImage () | |
getRotationAngle () | |
setRotationAngle (float $value) | |
getCaptionAbove () | |
setCaptionAbove (CaptionParameters $value) | |
getCaptionBelow () | |
setCaptionBelow (CaptionParameters $value) | |
getAutoSizeMode () | |
setAutoSizeMode (int $value) | |
getImageHeight () | |
setImageHeight (Unit $value) | |
getImageWidth () | |
setImageWidth (Unit $value) | |
getBarcode () | |
getBorder () | |
Public Member Functions inherited from BaseJavaClass | |
__construct ($javaClass) | |
getJavaClass () | |
getJavaClassName () | |
isNull () | |
printJavaClassName () | |
Protected Member Functions | |
init () | |
Protected Member Functions inherited from BaseJavaClass | |
setJavaClass ($javaClass) | |
Private Attributes | |
$captionAbove | |
$captionBelow | |
$barcodeParameters | |
$borderParameters | |
$image | |
$imageWidth | |
$imageHeight | |
Barcode image generation parameters.
BaseGenerationParameters::getAutoSizeMode | ( | ) |
Specifies the different types of automatic sizing modes. Default value: AutoSizeMode::NONE.
BaseGenerationParameters::getBackColor | ( | ) |
Background color of the barcode image. Default value: #FFFFFF
BaseGenerationParameters::getBarcode | ( | ) |
Gets the BarcodeParameters that contains all barcode properties.
BaseGenerationParameters::getBorder | ( | ) |
Gets the BorderParameters that contains all configuration properties for barcode border.
BaseGenerationParameters::getCaptionAbove | ( | ) |
Caption Above the BarCode image.
BaseGenerationParameters::getCaptionBelow | ( | ) |
Caption Below the BarCode image.
BaseGenerationParameters::getImage | ( | ) |
Image parameters. See ImageParameters.
BaseGenerationParameters::getImageHeight | ( | ) |
BarCode image height when AutoSizeMode property is set to AutoSizeMode::NEAREST or AutoSizeMode::INTERPOLATION.
BaseGenerationParameters::getImageWidth | ( | ) |
BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode::INTERPOLATION.
BaseGenerationParameters::getResolution | ( | ) |
Gets the resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
BarcodeException |
BaseGenerationParameters::getRotationAngle | ( | ) |
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
This sample shows how to create and save a BarCode image.
BaseGenerationParameters::getUseAntiAlias | ( | ) |
Gets a value indicating whether is used anti-aliasing mode to render image
|
protected |
Reimplemented from BaseJavaClass.
BaseGenerationParameters::setAutoSizeMode | ( | int | $value | ) |
Specifies the different types of automatic sizing modes. Default value: AutoSizeMode::NONE.
BaseGenerationParameters::setBackColor | ( | string | $hexValue | ) |
Background color of the barcode image. Default value: #FFFFFF
string | $hexValue | value of background color. |
BarcodeException |
BaseGenerationParameters::setCaptionAbove | ( | CaptionParameters | $value | ) |
Caption Above the BarCode image.
BaseGenerationParameters::setCaptionBelow | ( | CaptionParameters | $value | ) |
Caption Below the BarCode image.
BaseGenerationParameters::setImageHeight | ( | Unit | $value | ) |
BarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode::INTERPOLATION.
BaseGenerationParameters::setImageWidth | ( | Unit | $value | ) |
BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode::INTERPOLATION.
BaseGenerationParameters::setResolution | ( | float | $value | ) |
Sets the resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
float | $value | The Resolution parameter value is less than or equal to 0. |
BarcodeException |
BaseGenerationParameters::setRotationAngle | ( | float | $value | ) |
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
This sample shows how to create and save a BarCode image.
BaseGenerationParameters::setUseAntiAlias | ( | bool | $value | ) |
Sets a value indicating whether is used anti-aliasing mode to render image
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |