Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
__construct ($source) | |
getPixels () | |
setPixels (float $value) | |
getInches () | |
setInches (float $value) | |
getMillimeters () | |
setMillimeters (float $value) | |
getPoint () | |
setPoint (float $value) | |
getDocument () | |
setDocument (float $value) | |
toString () | |
equals (Unit $obj) | |
Public Member Functions inherited from BaseJavaClass | |
getJavaClass () | |
getJavaClassName () | |
isNull () | |
printJavaClassName () | |
Protected Member Functions | |
init () | |
Protected Member Functions inherited from BaseJavaClass | |
setJavaClass ($javaClass) | |
Static Private Member Functions | |
static | initUnit ($source) |
Specifies the size value in different units (Pixel, Inches, etc.).
This sample shows how to create and save a BarCode image.
Unit::__construct | ( | $source | ) |
Reimplemented from BaseJavaClass.
Unit::equals | ( | Unit | $obj | ) |
Unit::getDocument | ( | ) |
Gets size value in document units.
Unit::getInches | ( | ) |
Gets size value in inches.
Unit::getMillimeters | ( | ) |
Gets size value in millimeters.
Unit::getPixels | ( | ) |
Gets size value in pixels.
Unit::getPoint | ( | ) |
Gets size value in point.
|
protected |
Reimplemented from BaseJavaClass.
|
staticprivate |
Unit::setDocument | ( | float | $value | ) |
Sets size value in document units.
Unit::setInches | ( | float | $value | ) |
Sets size value in inches.
Unit::setMillimeters | ( | float | $value | ) |
Sets size value in millimeters.
Unit::setPixels | ( | float | $value | ) |
Sets size value in pixels.
Unit::setPoint | ( | float | $value | ) |
Sets size value in point.