public final enum

PdfVersion

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pspdfkit.document.PdfVersion

Class Overview

PDF versions supported by PSPDFKit.

Summary

Enum Values
PdfVersion  PDF_1_0  PDF 1.0  
PdfVersion  PDF_1_1  PDF 1.1  
PdfVersion  PDF_1_2  PDF 1.2  
PdfVersion  PDF_1_3  PDF 1.3  
PdfVersion  PDF_1_4  PDF 1.4  
PdfVersion  PDF_1_5  PDF 1.5  
PdfVersion  PDF_1_6  PDF 1.6  
PdfVersion  PDF_1_7  PDF 1.7  
Public Methods
int getMajorVersion()
Get major version number of this PDF version.
int getMaxEncryptionKeyLength()
Returns the maximum length for the encryption key for this version.
int getMinorVersion()
Get minor version number of this PDF version.
static PdfVersion valueOf(String name)
final static PdfVersion[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PdfVersion PDF_1_0

PDF 1.0

public static final PdfVersion PDF_1_1

PDF 1.1

public static final PdfVersion PDF_1_2

PDF 1.2

public static final PdfVersion PDF_1_3

PDF 1.3

public static final PdfVersion PDF_1_4

PDF 1.4

public static final PdfVersion PDF_1_5

PDF 1.5

public static final PdfVersion PDF_1_6

PDF 1.6

public static final PdfVersion PDF_1_7

PDF 1.7

Public Methods

public int getMajorVersion ()

Get major version number of this PDF version.

Returns
  • Major version number (one before the dot).

public int getMaxEncryptionKeyLength ()

Returns the maximum length for the encryption key for this version.

Returns
  • Max encryption key length.

public int getMinorVersion ()

Get minor version number of this PDF version.

Returns
  • Minor version number (one after the dot).

public static PdfVersion valueOf (String name)

public static final PdfVersion[] values ()