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

FieldDescription
DefaultDefault layout.
OneColumnDisplay the pages in one column.
SinglePageSingle page.
TwoColumnLeftDisplay the pages in two columns, with odd-numbered pages on the left.
TwoColumnRightDisplay the pages in two columns, with odd-numbered pages on the right.
TwoPageLeftDisplay the pages two at a time, with odd-numbered pages on the left.
TwoPageRightDisplay the pages two at a time, with odd-numbered pages on the right.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns 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:

ParameterTypeDescription
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