![]() |
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
| getPixels () | |
| setPixels ($value) | |
| getInches () | |
| setInches ($value) | |
| getMillimeters () | |
| setMillimeters ($value) | |
| getPoint () | |
| setPoint ($value) | |
| getDocument () | |
| setDocument ($value) | |
| toString () | |
| equals ($obj) | |
Specifies the size value in different units (Pixel, Inches, etc.). This sample shows how to create and save a BarCode image. $generator = new BarcodeGenerator(EncodeTypes::CODE_128); $generator->getParameters()->getBarcode()->getBarHeight()->setMillimeters(10); $generator->save("test.png");
| equals | ( | $obj | ) |
| getDocument | ( | ) |
Gets size value in document units.
| getInches | ( | ) |
Gets size value in inches.
| getMillimeters | ( | ) |
Gets size value in millimeters.
| getPixels | ( | ) |
Gets size value in pixels.
| getPoint | ( | ) |
Gets size value in point.
| setDocument | ( | $value | ) |
Sets size value in document units.
| setInches | ( | $value | ) |
Sets size value in inches.
| setMillimeters | ( | $value | ) |
Sets size value in millimeters.
| setPixels | ( | $value | ) |
Sets size value in pixels.
| setPoint | ( | $value | ) |
Sets size value in point.