Namespace PDFTron.WebViewer.LayoutMode
LayoutModes are used to dictate how pages are placed within the viewer. Used by PDFTron.WebViewer#setLayoutMode and PDFTron.WebViewer#getLayoutMode.
Constructor Attributes | Constructor Name and Description |
---|---|
Contains string enums for all layouts for WebViewer.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
PDFTron.WebViewer.LayoutMode.Continuous
All pages are visible in one column.
|
<static> |
PDFTron.WebViewer.LayoutMode.Facing
Up to two pages will be visible.
|
<static> |
PDFTron.WebViewer.LayoutMode.FacingContinuous
All pages visible in two columns.
|
<static> |
PDFTron.WebViewer.LayoutMode.FacingCover
All pages visible in two columns, with an even numbered page rendered first.
|
<static> |
PDFTron.WebViewer.LayoutMode.FacingCoverContinuous
All pages visible, with an even numbered page rendered first.
|
<static> |
PDFTron.WebViewer.LayoutMode.Single
Only the current page will be visible.
|
Field Detail
<static>
PDFTron.WebViewer.LayoutMode.Continuous
All pages are visible in one column.
<static>
PDFTron.WebViewer.LayoutMode.Facing
Up to two pages will be visible.
<static>
PDFTron.WebViewer.LayoutMode.FacingContinuous
All pages visible in two columns.
<static>
PDFTron.WebViewer.LayoutMode.FacingCover
All pages visible in two columns, with an even numbered page rendered first.
i.e. The first page of the document is rendered by itself on the right side of the viewer to simulate a book cover.
<static>
PDFTron.WebViewer.LayoutMode.FacingCoverContinuous
All pages visible, with an even numbered page rendered first.
i.e. The first page of the document is rendered by itself on the right side of the viewer to simulate a book cover.
<static>
PDFTron.WebViewer.LayoutMode.Single
Only the current page will be visible.