org.pdfbox.examples.pdmodel
Class CreateBlankPDF
java.lang.Object
org.pdfbox.examples.pdmodel.CreateBlankPDF
public class CreateBlankPDF
extends java.lang.Object
This will create a blank PDF and write the contents to a file.
usage: java org.pdfbox.examples.pdmodel.CreateBlankPDF <outputfile.pdf>
void | create(String file) - This will create a blank PDF and write the contents to a file.
|
static void | main(String[] args) - This will create a blank document.
|
create
public void create(String file)
throws IOException,
COSVisitorException
This will create a blank PDF and write the contents to a file.
file
- The name of the file to write to.
main
public static void main(String[] args)
throws IOException,
COSVisitorException
This will create a blank document.
args
- The command line arguments.