Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
getTwoDDisplayText () | |
setTwoDDisplayText (string $value) | |
getFontMode () | |
setFontMode (int $value) | |
getFont () | |
setFont (FontUnit $value) | |
getSpace () | |
setSpace (Unit $value) | |
getAlignment () | |
setAlignment (int $value) | |
getColor () | |
setColor (string $hexValue) | |
getLocation () | |
setLocation (int $value) | |
getNoWrap () | |
setNoWrap (bool $value) | |
toString () | |
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 | |
$font | |
$space | |
Codetext parameters.
CodetextParameters::getAlignment | ( | ) |
Gets the alignment of the code text. Default value: TextAlignment::CENTER.
CodetextParameters::getColor | ( | ) |
Specify the displaying CodeText's Color. Default value BLACK.
CodetextParameters::getFont | ( | ) |
Specify the displaying CodeText's font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode::AUTO.
CodetextParameters::getFontMode | ( | ) |
Specify FontMode. If FontMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontMode::AUTO especially in AutoSizeMode.NEAREST or AutoSizeMode::INTERPOLATION. Default value: FontMode::AUTO.
CodetextParameters::getLocation | ( | ) |
Specify the displaying CodeText Location, set to CodeLocation::NONE to hide CodeText. Default value: CodeLocation::BELOW.
CodetextParameters::getNoWrap | ( | ) |
Specify word wraps (line breaks) within text.
CodetextParameters::getSpace | ( | ) |
Space between the CodeText and the BarCode in Unit value. Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
CodetextParameters::getTwoDDisplayText | ( | ) |
Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
|
protected |
Reimplemented from BaseJavaClass.
CodetextParameters::setAlignment | ( | int | $value | ) |
Sets the alignment of the code text. Default value: TextAlignment::CENTER.
CodetextParameters::setColor | ( | string | $hexValue | ) |
Specify the displaying CodeText's Color. Default value BLACK.
CodetextParameters::setFont | ( | FontUnit | $value | ) |
Specify the displaying CodeText's font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode::AUTO.
CodetextParameters::setFontMode | ( | int | $value | ) |
Specify FontMode. If FontMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontMode::AUTO especially in AutoSizeMode.NEAREST or AutoSizeMode::INTERPOLATION. Default value: FontMode::AUTO.
CodetextParameters::setLocation | ( | int | $value | ) |
Specify the displaying CodeText Location, set to CodeLocation::NONE to hide CodeText. Default value: CodeLocation::BELOW.
CodetextParameters::setNoWrap | ( | bool | $value | ) |
Specify word wraps (line breaks) within text.
CodetextParameters::setSpace | ( | Unit | $value | ) |
Space between the CodeText and the BarCode in Unit value. Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
CodetextParameters::setTwoDDisplayText | ( | string | $value | ) |
Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
CodetextParameters::toString | ( | ) |
Returns a human-readable string representation of this CodetextParameters.
|
private |
|
private |