Class UsingTextMatrix
java.lang.Object
org.apache.pdfbox.examples.pdmodel.UsingTextMatrix
This is an example of how to use a text matrix.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreates a sample document with some text using a text matrix.static voidThis will create a PDF document with some examples how to use a text matrix.private voidusage()This will print out a message telling how to use this example.
-
Constructor Details
-
UsingTextMatrix
public UsingTextMatrix()Constructor.
-
-
Method Details
-
doIt
creates a sample document with some text using a text matrix.- Parameters:
message- The message to write in the file.outfile- The resulting PDF.- Throws:
IOException- If there is an error writing the data.
-
main
This will create a PDF document with some examples how to use a text matrix.- Parameters:
args- Command line arguments.- Throws:
IOException
-
usage
private void usage()This will print out a message telling how to use this example.
-