public enum MagnificationType extends Enum<MagnificationType>
Java class for MagnificationType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MagnificationType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="fitWidth"/>
<enumeration value="fitVisible"/>
<enumeration value="fitHeight"/>
<enumeration value="fitPage"/>
<enumeration value="fitActual"/>
<enumeration value="zoom"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FIT_ACTUAL |
FIT_HEIGHT |
FIT_PAGE |
FIT_VISIBLE |
FIT_WIDTH |
NONE |
ZOOM |
| Modifier and Type | Method and Description |
|---|---|
static MagnificationType |
fromValue(String v) |
String |
value() |
static MagnificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MagnificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagnificationType NONE
public static final MagnificationType FIT_WIDTH
public static final MagnificationType FIT_VISIBLE
public static final MagnificationType FIT_HEIGHT
public static final MagnificationType FIT_PAGE
public static final MagnificationType FIT_ACTUAL
public static final MagnificationType ZOOM
public static MagnificationType[] values()
for (MagnificationType c : MagnificationType.values()) System.out.println(c);
public static MagnificationType 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 value()
public static MagnificationType fromValue(String v)
Copyright © 2017–2020 SoftVision Development GmbH, Fulda, Germany. All rights reserved.