Class GoToSecondBookmarkOnOpen

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

public final class GoToSecondBookmarkOnOpen extends Object
This is an example on how to an action to go to the second page when the PDF is opened.
  • Constructor Details

    • GoToSecondBookmarkOnOpen

      private GoToSecondBookmarkOnOpen()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      This will print the documents data.
      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.