public enum CaptionPosition extends Enum<CaptionPosition>
Enumeration of the annotation's caption positioning.
Enum Constant and Description |
---|
Inline
The caption will be centered inside the line (default value).
|
Top
The caption will be on top of the line.
|
Modifier and Type | Method and Description |
---|---|
static CaptionPosition |
getByValue(int value) |
int |
getValue() |
static CaptionPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptionPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptionPosition Inline
The caption will be centered inside the line (default value).
public static final CaptionPosition Top
The caption will be on top of the line.
public static CaptionPosition[] values()
for (CaptionPosition c : CaptionPosition.values()) System.out.println(c);
public static CaptionPosition 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 int getValue()
public static CaptionPosition getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.