com.lowagie.text.pdf
Class PdfImage

java.lang.Object
  extended bycom.lowagie.text.pdf.PdfObject
      extended bycom.lowagie.text.pdf.PdfDictionary
          extended bycom.lowagie.text.pdf.PdfStream
              extended bycom.lowagie.text.pdf.PdfImage

public class PdfImage
extends PdfStream

PdfImage is a PdfStream containing an image-Dictionary and -stream.


Field Summary
 
Fields inherited from class com.lowagie.text.pdf.PdfStream
BEST_COMPRESSION, BEST_SPEED, DEFAULT_COMPRESSION, NO_COMPRESSION
 
Fields inherited from class com.lowagie.text.pdf.PdfDictionary
CATALOG, FONT, OUTLINES, PAGE, PAGES
 
Fields inherited from class com.lowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE
 
Constructor Summary
PdfImage(Image image, String name, PdfIndirectReference maskRef)
          Constructs a PdfImage-object.
 
Method Summary
 PdfName name()
          Returns the PdfName of the image.
 
Methods inherited from class com.lowagie.text.pdf.PdfStream
flateCompress, flateCompress, flateCompress, getRawLength, toPdf, toString, writeContent, writeLength
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfImage

public PdfImage(Image image,
                String name,
                PdfIndirectReference maskRef)
         throws BadPdfFormatException
Constructs a PdfImage-object.

Parameters:
image - the Image-object
name - the PdfName for this image
Throws:
BadPdfFormatException - on error
Method Detail

name

public PdfName name()
Returns the PdfName of the image.

Returns:
the name


Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.