Java com.itextpdf.layout.element Image fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.layout.element Image fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.layout.element Image.

The text is from its open source code.

Constructor

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.

Method

ImagesetHeight(float height)
Sets the height property of the image, measured in points.
ImagesetHeight(UnitValue height)
Sets the height property of the image with a UnitValue .
ImagesetWidth(float width)
Sets the width property of the image, measured in points.
ImagesetWidth(UnitValue width)
Sets the width property of the image with a UnitValue .