public static enum Options.PageFitModeValue extends java.lang.Enum<Options.PageFitModeValue>
Enum Constant and Description |
---|
FITTOHEIGHT
scale the database/spreadsheet on the rendered image so it is no larger than one page high.
|
FITTOPAGES
fit the database/spreadsheet to one page, scaling to the image width or height depending on the page size and database size
|
FITTOWIDTH
scale the database/spreadsheet on the rendered image so it is no larger than one page wide
|
NOMAP
No scaling of the database image
|
SCALETOPERCENT
fit the spreadsheet in the rendered image using the scale percent value
|
Modifier and Type | Field and Description |
---|---|
long |
value |
Modifier and Type | Method and Description |
---|---|
static Options.PageFitModeValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Options.PageFitModeValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Options.PageFitModeValue NOMAP
public static final Options.PageFitModeValue FITTOPAGES
public static final Options.PageFitModeValue FITTOWIDTH
public static final Options.PageFitModeValue FITTOHEIGHT
public static final Options.PageFitModeValue SCALETOPERCENT
public static Options.PageFitModeValue[] values()
for (Options.PageFitModeValue c : Options.PageFitModeValue.values()) System.out.println(c);
public static Options.PageFitModeValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null