Enum PdfVersion
-
- All Implemented Interfaces:
public enum PdfVersion
PDF versions supported by PSPDFKit.
-
-
Field Summary
Fields Modifier and Type Field Description public final int
majorVersion
public final int
minorVersion
-
Method Summary
Modifier and Type Method Description int
getMaxEncryptionKeyLength()
Returns the maximum length for the encryption key for this version. static Array<PdfVersion>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static PdfVersion
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getMajorVersion()
Gets major version number of this PDF version. int
getMinorVersion()
Gets minor version number of this PDF version. -
-
Method Detail
-
getMaxEncryptionKeyLength
int getMaxEncryptionKeyLength()
Returns the maximum length for the encryption key for this version.
- Returns:
Max encryption key length.
-
values
static Array<PdfVersion> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static PdfVersion 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.)
- Returns:
the enum constant with the specified name
-
getMajorVersion
int getMajorVersion()
Gets major version number of this PDF version.
- Returns:
Major version number (one before the dot).
-
getMinorVersion
int getMinorVersion()
Gets minor version number of this PDF version.
- Returns:
Minor version number (one after the dot).
-
-
-
-