![]() |
Aspose.Barcode for PHP via Java
22.4
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 $value) | |
getLocation () | |
setLocation (int $value) | |
getNoWrap () | |
setNoWrap (bool $value) | |
toString () | |
getJavaClass () | |
getJavaClassName () | |
isNull () | |
printJavaClassName () | |
Protected Member Functions | |
init () | |
setJavaClass ($javaClass) | |
Codetext parameters.
CodetextParameters::getAlignment | ( | ) |
Gets or sets 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.
|
inherited |
|
inherited |
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.
|
inherited |
|
inherited |
CodetextParameters::setAlignment | ( | int | $value | ) |
Gets or sets the alignment of the code text. Default value: TextAlignment::CENTER.
CodetextParameters::setColor | ( | string | $value | ) |
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.
|
protectedinherited |
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.