enum

Hpdf::PageLayout

Inherits Enum / Comparable / Value / Object

used in Doc#page_layout=.

Constants

Single = 0

Only one page is displayed.

OneColumn = 1

Display the pages in one column.

TwoColumnLeft = 2

Display the pages in two column. The page of the odd number is displayed left.

TwoColumnRight = 3

Display the pages in two column. The page of the odd number is displayed right.

Default = 6

TwoPageLeft TwoPageRight

Instance methods

default?

Returns true if this enum value equals Default

Source
one_column?

Returns true if this enum value equals OneColumn

Source
single?

Returns true if this enum value equals Single

Source
two_column_left?

Returns true if this enum value equals TwoColumnLeft

Source
two_column_right?

Returns true if this enum value equals TwoColumnRight

Source