org.icepdf.core.pobjects
Class Thumbnail
java.lang.Object
org.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.Thumbnail
public class Thumbnail
- extends Dictionary
A PDF document may contain thumbnail images representing the contents of its
pages in miniature form. A conforming reader may display these images on the
screen, allowing the user to navigate to a page by clicking its thumbnail
image:
NOTEThumbnail images are not required, and may be included for some
pages and not for others.
|
Method Summary |
java.awt.Dimension |
getDimension()
|
java.awt.image.BufferedImage |
getImage()
|
void |
init()
Initiate the Dictionary. |
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
THUMB_KEY
public static final Name THUMB_KEY
WIDTH_KEY
public static final Name WIDTH_KEY
HEIGHT_KEY
public static final Name HEIGHT_KEY
Thumbnail
public Thumbnail(Library library,
java.util.HashMap entries)
init
public void init()
- Description copied from class:
Dictionary
- Initiate the Dictionary. Retrieve any needed attributes.
- Overrides:
init in class Dictionary
getImage
public java.awt.image.BufferedImage getImage()
getDimension
public java.awt.Dimension getDimension()