This will create a blank PDF and write the contents to a file.
usage: java org.pdfbox.examples.pdmodel.CreateBlankPDF <outputfile.pdf>
author: Ben Litchfield version: $Revision: 1.9 $
Method Summary
public void
create(String file) This will create a blank PDF and write the contents to a file.
public static void
main(String[] args) This will create a blank document.
This will create a blank PDF and write the contents to a file.
Parameters: file - The name of the file to write to. throws: IOException - If there is an error writing the data. throws: COSVisitorException - If there is an error while generating the document.
This will create a blank document.
Parameters: args - The command line arguments. throws: IOException - If there is an error writing the document data. throws: COSVisitorException - If there is an error generating the data.