PageLayout
Inheritance: java.lang.Object, java.lang.Enum < PageLayout > com.aspose.pdf.PageLayout, java.lang.Enum < PageLayout >, com.aspose.pdf.PageLayout
All Implemented Interfaces: Serializable, Comparable < PageLayout >
public enum PageLayout extends Enum < PageLayout >
Descibes page layout.
Fields
| Field | 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. |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
Default
public static final PageLayout Default
Default layout.
OneColumn
public static final PageLayout OneColumn
Display the pages in one column.
SinglePage
public static final PageLayout SinglePage
Single page.
TwoColumnLeft
public static final PageLayout TwoColumnLeft
Display the pages in two columns, with odd-numbered pages on the left.
TwoColumnRight
public static final PageLayout TwoColumnRight
Display the pages in two columns, with odd-numbered pages on the right.
TwoPageLeft
public static final PageLayout TwoPageLeft
Display the pages two at a time, with odd-numbered pages on the left.
TwoPageRight
public static final PageLayout TwoPageRight
Display the pages two at a time, with odd-numbered pages on the right.
getByValue
public static PageLayout getByValue(int value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value |
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static PageLayout [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared