com.lowagie.text
public class ImgWMF extends Image
ImgWMF
is the representation of a windows metafile
that has to be inserted into the document
Constructor Summary | |
---|---|
ImgWMF(Image image) | |
ImgWMF(URL url)
Constructs an ImgWMF -object, using an url.
| |
ImgWMF(String filename)
Constructs an ImgWMF -object, using a filename.
| |
ImgWMF(byte[] img)
Constructs an ImgWMF -object from memory.
|
Method Summary | |
---|---|
void | processParameters()
This method checks if the image is a valid WMF and processes some parameters. |
void | readWMF(PdfTemplate template) Reads the WMF into a template. |
ImgWMF
-object, using an url.
Parameters: url the URL
where the image can be found
Throws: BadElementException on error IOException on error
ImgWMF
-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
ImgWMF
-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