Aspose::Pdf::Facades::ViewerPreference class

ViewerPreference class

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

class ViewerPreference : public System::Object

Fields

FieldDescription
static constexpr CenterWindowA flag specifying whether to position the document’s window in the center of the screen.
static constexpr DirectionL2RText reading order left to right.
static constexpr DirectionR2LText reading order right to left.
static constexpr DisplayDocTitleA flag specifying whether the window’s title bar should display the document title.
static constexpr DuplexFlipLongEdgeDuplex and flip on the short edge of the sheet.
static constexpr DuplexFlipShortEdgeDuplex and flip on the short edge of the sheet.
static constexpr FitWindowA flag specifying whether to resize the document’s window to fit the size of the first displayed page.
static constexpr HideMenubarA flag specifying whether to hide the conforming reader’s menu bar when the document is active.
static constexpr HideToolbarA flag specifying whether to hide the conforming reader’s tool bars when the document is active.
static constexpr HideWindowUIA 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.
static constexpr NonFullScreenPageModeUseNoneNeither document outline nor thumbnail images visible.
static constexpr NonFullScreenPageModeUseOCOptional content group panel visible.
static constexpr NonFullScreenPageModeUseOutlinesDocument outline visible.
static constexpr NonFullScreenPageModeUseThumbsThumbnail images visible.
static constexpr PageLayoutOneColumnDisplay the pages in one column.
static constexpr PageLayoutSinglePageDisplay one page at a time.
static constexpr PageLayoutTwoColumnLeftDisplay the pages in two columns, with odd-numbered pages on the right.
static constexpr PageLayoutTwoColumnRightDisplay the pages in two columns, with odd-numbered pages on the right.
static constexpr PageModeFullScreenFull-screen mode, with no menu bar, window controls, or any other window visible.
static constexpr PageModeUseAttachmentPage mode with attacments.
static constexpr PageModeUseNoneNeither document outline nor thumbnail images visible.
static constexpr PageModeUseOCOptional content group panel visible.
static constexpr PageModeUseOutlinesDocument outline visible.
static constexpr PageModeUseThumbsThumbnail images visible.
static constexpr PickTrayByPDFSizeUse the PDF page size to select the input paper tray.
static constexpr PrintScalingAppDefaultThe conforming reader’s default print scaling.
static constexpr PrintScalingNoneNo page scaling.
static constexpr SimplexPrint single-sided.

See Also