com.lowagie.text
public class ImgPostscript extends Image
ImgPostscript is the representation of an EPS
that has to be inserted into the document
| Constructor Summary | |
|---|---|
| ImgPostscript(Image image) | |
| ImgPostscript(byte[] content, float width, float height) | |
| ImgPostscript(URL url)
Constructs an ImgPostscript-object, using an url.
| |
| ImgPostscript(String filename)
Constructs an ImgPostscript-object, using a filename.
| |
| ImgPostscript(byte[] img)
Constructs an ImgPostscript-object from memory.
| |
| Method Summary | |
|---|---|
| void | processParameters()
This method checks if the image is a valid Postscript and processes some parameters. |
| void | readPostscript(PdfTemplate template) Reads the Postscript into a template. |
ImgPostscript-object, using an url.
Parameters: url the URL where the image can be found
Throws: BadElementException on error IOException on error
ImgPostscript-object, using a filename.
Parameters: filename a String-representation of the file that contains the image.
Throws: BadElementException on error MalformedURLException on error IOException on error
ImgPostscript-object from memory.
Parameters: img the memory image
Throws: BadElementException on error IOException on error
Throws: BadElementException IOException
Parameters: template the template to read to
Throws: IOException on error DocumentException on error