Class RubberStampWithImage
java.lang.Object
org.apache.pdfbox.examples.pdmodel.RubberStampWithImage
This is an example on how to add a rubber stamp annotation with an image to pages of a PDF
document. To add a normal image, use the AddImageToPDF.java example.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RubberStampWithImage
public RubberStampWithImage()
-
-
Method Details
-
doIt
Add a rubber stamp with an jpg image to every page of the given document.- Parameters:
args- the command line arguments- Throws:
IOException- an exception is thrown if something went wrong
-
main
This creates an instance of RubberStampWithImage.- Parameters:
args- The command line arguments.- Throws:
IOException- If there is an error parsing the document.
-