public enum VerticalAlignment extends Enum<VerticalAlignment>
Enumeration of possible vertical alignment values.
Enum Constant and Description |
---|
Bottom
Align to bottom.
|
Center
Center alignment.
|
None
No alignment (use specified position).
|
Top
Align to top.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Get number of
|
static VerticalAlignment |
valueOf(int alignmentType) |
static VerticalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerticalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalAlignment None
No alignment (use specified position).
public static final VerticalAlignment Top
Align to top.
public static final VerticalAlignment Center
Center alignment.
public static final VerticalAlignment Bottom
Align to bottom.
public static VerticalAlignment[] values()
for (VerticalAlignment c : VerticalAlignment.values()) System.out.println(c);
public static VerticalAlignment 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 static VerticalAlignment valueOf(int alignmentType)
public int getValue()
Copyright © 2024 Aspose. All Rights Reserved.