public enum PageCountType extends Enum<PageCountType>
Enum Constant and Description |
---|
CURRENT_PAGE_NUMBER
Type for the current page number.
|
TOTAL_PAGE_COUNT
Type for the total page count.
|
Modifier and Type | Method and Description |
---|---|
static PageCountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageCountType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final PageCountType CURRENT_PAGE_NUMBER
public static final PageCountType TOTAL_PAGE_COUNT
public static PageCountType[] values()
for (PageCountType c : PageCountType.values()) System.out.println(c);
public static PageCountType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
Copyright © 1998–2021 iText Group NV. All rights reserved.