Example usage for Java com.itextpdf.layout.element Image fields, constructors, methods, implement or subclass
The text is from its open source code.
Image(PdfImageXObject xObject) Creates an Image from an image XObject, the representation of an image in PDF syntax. | |
Image(PdfFormXObject xObject) Creates an Image from a form XObject, the representation of a form in PDF syntax. | |
Image(ImageData img) Creates an Image from an image resource, read in from a file with the iText I/O module. |
Image | setHeight(float height) Sets the height property of the image, measured in points. |
Image | setHeight(UnitValue height) Sets the height property of the image with a UnitValue . |
Image | setWidth(float width) Sets the width property of the image, measured in points. |
Image | setWidth(UnitValue width) Sets the width property of the image with a UnitValue . |