Namespace PDFTron.WebViewer.FitMode
FitModes are specialized modes for specifying the zoom level of the document.
Constructor Attributes | Constructor Name and Description |
---|---|
Contains all posible modes for fitting/zooming pages to the viewer.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
PDFTron.WebViewer.FitMode.FitHeight
A fit mode where the zoom level is fixed to the height of the page.
|
<static> |
PDFTron.WebViewer.FitMode.FitPage
A fit mode where the zoom level is fixed to the width or height of the page, whichever is smaller.
|
<static> |
PDFTron.WebViewer.FitMode.FitWidth
A fit mode where the zoom level is fixed to the width of the page.
|
<static> |
PDFTron.WebViewer.FitMode.Zoom
A fit mode where the zoom level is not fixed.
|
Namespace Detail
PDFTron.WebViewer.FitMode
Contains all posible modes for fitting/zooming pages to the viewer.
The behavior may vary depending on the PDFTron.WebViewer.LayoutMode.
Field Detail
<static>
PDFTron.WebViewer.FitMode.FitHeight
A fit mode where the zoom level is fixed to the height of the page.
<static>
PDFTron.WebViewer.FitMode.FitPage
A fit mode where the zoom level is fixed to the width or height of the page, whichever is smaller.
<static>
PDFTron.WebViewer.FitMode.FitWidth
A fit mode where the zoom level is fixed to the width of the page.
<static>
PDFTron.WebViewer.FitMode.Zoom
A fit mode where the zoom level is not fixed.