







![]() ![]() |
PDFTron SilverDox SDK |
DocumentViewer..::..DisplayModes Enumeration |
DocumentViewer Class See Also Send Feedback |
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 name | Value | Description | |
---|---|---|---|
AllPages | 0 | All pages will be visible. | |
SinglePage | 1 | 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. | |
DualPageFacing | 2 | 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) | |
DualPageCoverFacing | 3 | 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) |