public static enum NCIReaderSettings.InvalidResolutionHandling extends Enum<NCIReaderSettings.InvalidResolutionHandling>
Enum Constant and Description |
---|
CLAMP
Clamp the resolution, so that it falls into the range
[
|
USE_DEFAULT
Replace any invalid resolution that does not fall into the range
[
|
Modifier and Type | Method and Description |
---|---|
static NCIReaderSettings.InvalidResolutionHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NCIReaderSettings.InvalidResolutionHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NCIReaderSettings.InvalidResolutionHandling CLAMP
[
NCIReaderSettings.getMinimumResolution()
..
NCIReaderSettings.getMaximumResolution()
]
while maintaining the aspect ratio found
in the document.public static final NCIReaderSettings.InvalidResolutionHandling USE_DEFAULT
[
NCIReaderSettings.getMinimumResolution()
..
NCIReaderSettings.getMaximumResolution()
]
with
NCIReaderSettings.getDefaultResolution()
while maintaining the aspect ratio.public static NCIReaderSettings.InvalidResolutionHandling[] values()
for (NCIReaderSettings.InvalidResolutionHandling c : NCIReaderSettings.InvalidResolutionHandling.values()) System.out.println(c);
public static NCIReaderSettings.InvalidResolutionHandling 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 nullCopyright © 2024 levigo holding gmbh. All rights reserved.