Package com.evopdf

Enum ViewerPageMode

java.lang.Object
java.lang.Enum<ViewerPageMode>
com.evopdf.ViewerPageMode
All Implemented Interfaces:
Serializable, Comparable<ViewerPageMode>, java.lang.constant.Constable

public enum ViewerPageMode extends Enum<ViewerPageMode>
A name object specifying how the document should be displayed when opened
  • Enum Constant Details

    • UseNone

      public static final ViewerPageMode UseNone
      Neither document outline nor thumbnail images visible
    • UseOutlines

      public static final ViewerPageMode UseOutlines
      Document outline (bookmarks) visible
    • UseThumbs

      public static final ViewerPageMode UseThumbs
      Thumbnail images visible
    • FullScreen

      public static final ViewerPageMode FullScreen
      Full-screen mode, with no menu bar, window controls, or any other window visible
    • UseOC

      public static final ViewerPageMode UseOC
      Optional content group panel visible
    • UseAttachments

      public static final ViewerPageMode UseAttachments
      Document attachments visible
  • Method Details

    • values

      public static ViewerPageMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ViewerPageMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()