/ Published in: Java
Opens a PDF Document, removes the first page and then saves the document
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * @param args the command line arguments * @throws java.io.IOException */ PDDocument doc = PDDocument.load(file); doc.removePage(0); doc.save(""); }