public enum CompressionLevel extends Enum<CompressionLevel>
CompressPDFOperation
Enum Constant and Description |
---|
HIGH
Reduces the file size of pdf by reducing resolution of the coloured and grayscale images above 100 dpi to 72 dpi (dots per inch).
|
LOW
Reduces the file size of pdf by reducing resolution of the coloured and grayscale images above 250 dpi to 200 dpi (dots per inch).
|
MEDIUM
Reduces the file size of pdf by reducing resolution of the coloured and grayscale images above 200 dpi to 144 dpi (dots per inch).
|
Modifier and Type | Method and Description |
---|---|
String |
getCompressionLevel()
Returns the string representation of this CompressionLevel
|
static CompressionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionLevel HIGH
public static final CompressionLevel MEDIUM
public static final CompressionLevel LOW
public static CompressionLevel[] values()
for (CompressionLevel c : CompressionLevel.values()) System.out.println(c);
public static CompressionLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCompressionLevel()
Copyright © 2022 Adobe. All rights reserved.