ViewerPreference Class
Describes viewer prefereces (page mode, non full screen page mode, page layout).
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.FacadesViewerPreference

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.12
Syntax
public sealed class ViewerPreference

The ViewerPreference type exposes the following members.

Constructors
  NameDescription
Public methodViewerPreference
Initializes a new instance of the ViewerPreference class
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Public fieldStatic memberCenterWindow
A flag specifying whether to position the document’s window in the center of the screen.
Public fieldStatic memberDirectionL2R
Text reading order left to right.
Public fieldStatic memberDirectionR2L
Text reading order right to left.
Public fieldStatic memberDisplayDocTitle
A flag specifying whether the window’s title bar should display the document title
Public fieldStatic memberDuplexFlipLongEdge
Duplex and flip on the short edge of the sheet.
Public fieldStatic memberDuplexFlipShortEdge
Duplex and flip on the short edge of the sheet.
Public fieldStatic memberFitWindow
A flag specifying whether to resize the document’s window to fit the size of the first displayed page.
Public fieldStatic memberHideMenubar
A flag specifying whether to hide the conforming reader’s menu bar when the document is active.
Public fieldStatic memberHideToolbar
A flag specifying whether to hide the conforming reader’s tool bars when the document is active.
Public fieldStatic memberHideWindowUI
A 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.
Public fieldStatic memberNonFullScreenPageModeUseNone
Neither document outline nor thumbnail images visible.
Public fieldStatic memberNonFullScreenPageModeUseOC
Optional content group panel visible.
Public fieldStatic memberNonFullScreenPageModeUseOutlines
Document outline visible.
Public fieldStatic memberNonFullScreenPageModeUseThumbs
Thumbnail images visible
Public fieldStatic memberPageLayoutOneColumn
Display the pages in one column.
Public fieldStatic memberPageLayoutSinglePage
Display one page at a time.
Public fieldStatic memberPageLayoutTwoColumnLeft
Display the pages in two columns, with odd-numbered pages on the right
Public fieldStatic memberPageLayoutTwoColumnRight
Display the pages in two columns, with odd-numbered pages on the right.
Public fieldStatic memberPageModeFullScreen
Full-screen mode, with no menu bar, window controls, or any other window visible.
Public fieldStatic memberPageModeUseAttachment
Page mode with attacments.
Public fieldStatic memberPageModeUseNone
Neither document outline nor thumbnail images visible
Public fieldStatic memberPageModeUseOC
Optional content group panel visible.
Public fieldStatic memberPageModeUseOutlines
Document outline visible.
Public fieldStatic memberPageModeUseThumbs
Thumbnail images visible.
Public fieldStatic memberSimplex
Print single-sided.
See Also