/ Published in: Java

Creates a new PDF Document with a single A4 page.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * @param args the command line arguments * @throws java.io.IOException */ PDDocument document = new PDDocument(); PDPage page = new PDPage(PDRectangle.A4); document.addPage(page); document.save(""); document.close(); }
Comments
