Class ExtractTextByArea

java.lang.Object
org.apache.pdfbox.examples.util.ExtractTextByArea

public final class ExtractTextByArea extends Object
This is an example on how to extract text from a specific area on the PDF document.
  • Constructor Details

    • ExtractTextByArea

      private ExtractTextByArea()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      This will print the documents text in a certain area.
      Parameters:
      args - The command line arguments.
      Throws:
      IOException - If there is an error parsing the document.
    • usage

      private static void usage()
      This will print the usage for this document.