enum

Hpdf::ViewerPreference

Inherits Enum / Comparable / Value / Object

Controls PDF viewer UI behaviour when the document is opened. Values can be combined with |.

Constants

HideToolbar = 1_u32
HideMenubar = 2_u32
HideWindowUI = 4_u32
FitWindow = 8_u32
CenterWindow = 16_u32
PrintScalingNone = 32_u32
None = 0_u32
All = 63_u32

Instance methods

center_window?

Returns true if this enum value contains CenterWindow

Source
fit_window?

Returns true if this enum value contains FitWindow

Source
hide_menubar?

Returns true if this enum value contains HideMenubar

Source
hide_toolbar?

Returns true if this enum value contains HideToolbar

Source
hide_window_ui?

Returns true if this enum value contains HideWindowUI

Source
none?
Source