@Deprecated public class ImageDocument extends Document
Represents an image where a watermark can be placed.
Modifier and Type | Method and Description |
---|---|
protected void |
dispose(boolean disposing)
Deprecated.
Releases all resources used by the
ImageDocument |
int |
getHeight()
Deprecated.
Gets the height of this
ImageDocument in pixels. |
int |
getWidth()
Deprecated.
Gets the width of this
ImageDocument in pixels. |
close, dispose, getDefaultSearchableObjects, getInfo, getInfo, getSearchableObjects, load, load, load, load, load, load, load, load, save, save, setDefaultSearchableObjects, setSearchableObjects
addWatermark, findImages, findImages, findWatermarks, findWatermarks
public final int getHeight()
Gets the height of this ImageDocument
in pixels.
ImageDocument
in pixels.
Returns the height of the active frame for a multiframe image.public final int getWidth()
Gets the width of this ImageDocument
in pixels.
ImageDocument
in pixels.
Returns the width of the active frame for a multiframe image.