public enum FitToPaperModes extends Enum<FitToPaperModes>
| Enum Constant and Description |
|---|
Automatic
Measures minimum HTML content width after it is rendered by the browser and calculates zoom
based on the width of the content.
|
AutomaticFit
Measures minimum HTML content width after it is rendered by the browser using the smallest view port possible
Useful when fitting smaller content onto a wide page
|
ContinuousFeed
Creates a single page PDF which will force its entire content's width and height to fit into one page.
|
FixedPixelWidth
Fit an exact number of pixels onto each PDF page.
|
Zoom
Do nothing.
|
| Modifier and Type | Method and Description |
|---|---|
static FitToPaperModes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FitToPaperModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FitToPaperModes Zoom
public static final FitToPaperModes FixedPixelWidth
public static final FitToPaperModes Automatic
public static final FitToPaperModes AutomaticFit
public static final FitToPaperModes ContinuousFeed
public static FitToPaperModes[] values()
for (FitToPaperModes c : FitToPaperModes.values()) System.out.println(c);
public static FitToPaperModes 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 © 2022–2025 Iron Software. All rights reserved.