org.apache.pdfbox.examples.pdmodel
Class UsingTextMatrix

java.lang.Object
  extended by org.apache.pdfbox.examples.pdmodel.UsingTextMatrix

public class UsingTextMatrix
extends Object

This is an example of how to use a text matrix.

Version:
$Revision: 1.0 $

Constructor Summary
UsingTextMatrix()
          Constructor.
 
Method Summary
 void doIt(String message, String outfile)
          creates a sample document with some text using a text matrix.
static void main(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

UsingTextMatrix

public UsingTextMatrix()
Constructor.

Method Detail

doIt

public void doIt(String message,
                 String outfile)
          throws IOException,
                 COSVisitorException
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.
COSVisitorException - If there is an error writing the PDF.

main

public static void main(String[] args)
This will create a PDF document with some examples how to use a text matrix.

Parameters:
args - Command line arguments.


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.