ViewerPreference

ViewerPreference class

Describes viewer prefereces (page mode, non full screen page mode, page layout).

The ViewerPreference type exposes the following members:

Constructors

NameDescription
ViewerPreference()Initializes a new instance of the ViewerPreference class

Properties

NameDescription
PAGE_MODE_USE_OCOptional content group panel visible.
DISPLAY_DOC_TITLEA flag specifying whether the window�s title bar should display the document title
NON_FULL_SCREEN_PAGE_MODE_USE_OCOptional content group panel visible.
PAGE_LAYOUT_SINGLE_PAGEDisplay one page at a time.
PAGE_LAYOUT_ONE_COLUMNDisplay the pages in one column.
PAGE_LAYOUT_TWO_COLUMN_LEFTDisplay the pages in two columns, with odd-numbered pages on the right
PAGE_LAYOUT_TWO_COLUMN_RIGHTDisplay the pages in two columns, with odd-numbered pages on the right.
PAGE_MODE_USE_NONENeither document outline nor thumbnail images visible
PAGE_MODE_USE_OUTLINESDocument outline visible.
PAGE_MODE_USE_THUMBSThumbnail images visible.
PAGE_MODE_FULL_SCREENFull-screen mode, with no menu bar, window controls, or any other window visible.
PAGE_MODE_USE_ATTACHMENTPage mode with attacments.
HIDE_TOOLBARA flag specifying whether to hide the conforming reader�s tool bars when the document is active.
HIDE_MENUBARA flag specifying whether to hide the conforming reader�s menu bar when the document is active.
HIDE_WINDOW_UIA flag specifying whether to hide user interface elements in the document�s window (such as scroll bars and navigation controls), leaving only the document�s contents displayed.
FIT_WINDOWA flag specifying whether to resize the document�s window to fit the size of the first displayed page.
CENTER_WINDOWA flag specifying whether to position the document�s window in the center of the screen.
NON_FULL_SCREEN_PAGE_MODE_USE_NONENeither document outline nor thumbnail images visible.
NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINESDocument outline visible.
NON_FULL_SCREEN_PAGE_MODE_USE_THUMBSThumbnail images visible
DIRECTION_L2RText reading order left to right.
DIRECTION_R2LText reading order right to left.
SIMPLEXPrint single-sided.
DUPLEX_FLIP_SHORT_EDGEDuplex and flip on the short edge of the sheet.
DUPLEX_FLIP_LONG_EDGEDuplex and flip on the short edge of the sheet.

See Also