|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.examples.pdmodel.UsingTextMatrix
public class UsingTextMatrix
This is an example of how to use a text matrix.
Constructor Summary | |
---|---|
UsingTextMatrix()
Constructor. |
Method Summary | |
---|---|
void |
doIt(java.lang.String message,
java.lang.String outfile)
creates a sample document with some text using a text matrix. |
static void |
main(java.lang.String[] args)
This will create a PDF document with some examples how to use a text matrix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsingTextMatrix()
Method Detail |
---|
public void doIt(java.lang.String message, java.lang.String outfile) throws java.io.IOException, COSVisitorException
message
- The message to write in the file.outfile
- The resulting PDF.
java.io.IOException
- If there is an error writing the data.
COSVisitorException
- If there is an error writing the PDF.public static void main(java.lang.String[] args)
args
- Command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |