org.apache.pdfbox.examples.pdmodel
Class RubberStampWithImage
java.lang.Object
org.apache.pdfbox.examples.pdmodel.RubberStampWithImage
public class RubberStampWithImage
- extends Object
This is an example on how to add a rubber stamp with an image to pages of a PDF document.
- Version:
- $Revision: 1.0 $
Method Summary |
void |
doIt(String[] args)
Add a rubber stamp with an jpg image to every page of the given document. |
static void |
main(String[] args)
This creates an instance of RubberStampWithImage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RubberStampWithImage
public RubberStampWithImage()
doIt
public void doIt(String[] args)
throws IOException
- 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
public static void main(String[] args)
throws Exception
- This creates an instance of RubberStampWithImage.
- Parameters:
args
- The command line arguments.
- Throws:
Exception
- If there is an error parsing the document.
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.