| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | createPDFFromImage(String
The input PDF to add the image to. inputFile, String The filename of the image to put in the PDF. imagePath, String The file to write to the pdf to. outputFile)Add an image to an existing PDF document. |
| public static void | |
| private void |
| AddImageToPDF | back to summary |
|---|---|
| public AddImageToPDF() | |
| createPDFFromImage | back to summary |
|---|---|
| public void createPDFFromImage(String inputFile, String imagePath, String outputFile) throws IOException Add an image to an existing PDF document.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws IOException This will load a PDF document and add a single image on it.
| |
| usage | back to summary |
|---|---|
| private void usage() This will print out a message telling how to use this example. | |