Return to Snippet

Revision: 72622
at September 27, 2017 17:49 by markt22


Initial Code
/**
 * @param args the command line arguments
 * @throws java.io.IOException
 */
public static void main(String[] args) throws IOException {
    File file = new File("");
    PDDocument doc = PDDocument.load(file);

    doc.removePage(0);

    doc.save("");
}

Initial URL

                                

Initial Description
Opens a PDF Document, removes the first page and then saves the document

Initial Title
PDFBox: Remove first page of a document

Initial Tags

                                

Initial Language
Java