com.lowagie.text.pdf
Class PdfImage
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfStream
com.lowagie.text.pdf.PdfImage
- public class PdfImage
- extends PdfStream
PdfImage is a PdfStream containing an image-Dictionary and -stream.
| Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE |
|
Method Summary |
PdfName |
name()
Returns the PdfName of the image. |
| Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size |
| Methods inherited from class com.lowagie.text.pdf.PdfObject |
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setIndRef, type |
PdfImage
public PdfImage(Image image,
String name,
PdfIndirectReference maskRef)
throws BadPdfFormatException
- Constructs a
PdfImage-object.
- Parameters:
image - the Image-objectname - the PdfName for this image
- Throws:
BadPdfFormatException - on error
name
public PdfName name()
- Returns the
PdfName of the image.
- Returns:
- the name
Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.