Class UsingTextMatrix

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

public class UsingTextMatrix extends Object
This is an example of how to use a text matrix.
  • Constructor Details

    • UsingTextMatrix

      public UsingTextMatrix()
      Constructor.
  • Method Details

    • doIt

      public void doIt(String message, String outfile) throws IOException
      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

      public static void main(String[] args) throws IOException
      This will create a PDF document with some examples how to use a text matrix.
      Parameters:
      args - Command line arguments.
      Throws:
      IOException