public class ImageStamper extends Stamper
Stamper. Defines an Image PDF Stamper.
 PdfDocument.applyStamp(Stamper, PageSelection)| Constructor and Description | 
|---|
| ImageStamper(BufferedImage bufferedImage)Initializes a new instance of the  ImageStamperclass. | 
| ImageStamper(byte[] imageBytes)Initializes a new instance of the  ImageStamperclass. | 
| ImageStamper(Path imagePath)Initializes a new instance of the  ImageStamperclass. | 
| ImageStamper(String imagePath)Initializes a new instance of the  ImageStamperclass. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getImageData()Gets image data (byte[]). | 
getHorizontalAlignment, getHorizontalOffset, getHtml, getHyperlink, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpacity, getRotation, getScale, getVerticalAlignment, getVerticalOffset, isStampBehindContent, setHorizontalAlignment, setHorizontalOffset, setHtml, setHyperlink, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOpacity, setRotation, setScale, setStampBehindContent, setVerticalAlignment, setVerticalOffsetpublic ImageStamper(String imagePath) throws IOException
ImageStamper class.imagePath - The path of the image to be stamped by this stamperIOException - the io exceptionpublic ImageStamper(Path imagePath) throws IOException
ImageStamper class.imagePath - The uri of the image to be stamped by this stamperIOException - the io exceptionpublic ImageStamper(byte[] imageBytes)
ImageStamper class.imageBytes - The uri of the image to be stamped by this stamperpublic ImageStamper(BufferedImage bufferedImage) throws IOException
ImageStamper class.bufferedImage - The BufferedImage objectIOException - the io exceptionCopyright © 2022–2023 Iron Software. All rights reserved.