public enum PageLayout extends Enum<PageLayout>
Descibes page layout.
Enum Constant and Description |
---|
Default
Default layout.
|
OneColumn
Display the pages in one column.
|
SinglePage
Single page.
|
TwoColumnLeft
Display the pages in two columns, with odd-numbered pages on the left.
|
TwoColumnRight
Display the pages in two columns, with odd-numbered pages on the right.
|
TwoPageLeft
Display the pages two at a time, with odd-numbered pages on the left.
|
TwoPageRight
Display the pages two at a time, with odd-numbered pages on the right.
|
Modifier and Type | Method and Description |
---|---|
static PageLayout |
getByValue(int value) |
int |
getValue() |
static PageLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageLayout SinglePage
Single page.
public static final PageLayout OneColumn
Display the pages in one column.
public static final PageLayout TwoColumnLeft
Display the pages in two columns, with odd-numbered pages on the left.
public static final PageLayout TwoColumnRight
Display the pages in two columns, with odd-numbered pages on the right.
public static final PageLayout TwoPageLeft
Display the pages two at a time, with odd-numbered pages on the left.
public static final PageLayout TwoPageRight
Display the pages two at a time, with odd-numbered pages on the right.
public static final PageLayout Default
Default layout.
public static PageLayout[] values()
for (PageLayout c : PageLayout.values()) System.out.println(c);
public static PageLayout 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 PageLayout getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.