DocumentViewer.DisplayModes Enumeration

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Lists the possible modes for DisplayMode, which controls which pages the viewer will display.

Namespace: PDFTron.SilverDox.Controls
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public enum DisplayModes
Visual Basic
Public Enumeration DisplayModes
Visual C++
public enum class DisplayModes

Members

Member nameValueDescription
AllPages0 All pages will be visible.
SinglePage1 Only the current page will be visible. Intended to be used where the viewer's ItemsPanelTemplate is a vertically orriented stack panel, with the HorizontalAlignment and VerticalAlignment attributes set to Center. This is the default ItemsPanelTemplate.
DualPageFacing2 Up to two pages will be visible, with an odd numbered page rendered first. Intended to be used where the viewer's ItemsPanelTemplate is set to the FacingPanel layout Panel found in the ReaderControl sample project, with the CoverFacing attribute set to false. (SilverDoxSdk\Samples\ReaderControl\Utility\FacingPanel.cs)
DualPageCoverFacing3 Up to two pages will be visible, with an even numbered page rendered first. Intended to be used where the viewer's ItemsPanelTemplate is set to the FacingPanel layout Panel found in the ReaderControl sample project, with the CoverFacing attribute set to true. (SilverDoxSdk\Samples\ReaderControl\Utility\FacingPanel.cs)

See Also