public enum ImageMode extends Enum<ImageMode>
Lists options of fitting image within a box.
| Enum Constant and Description |
|---|
FitToBox
The image fits to box.
|
FitToHeight
The image fits to height.
|
FitToWidth
The image fits to width.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageMode FitToWidth
The image fits to width.
public static final ImageMode FitToHeight
The image fits to height.
public static final ImageMode FitToBox
The image fits to box.
public static ImageMode[] values()
for (ImageMode c : ImageMode.values()) System.out.println(c);
public static ImageMode 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 © 2025 Aspose. All Rights Reserved.