Some test text!
Xamarin / Android
There are a few view modes which can be adjusted to provide an optimal presentation such as layout, fit, or reflow. Additionally, you can present a view mode dialog allowing a user to change these settings.
PDFViewCtrl
supports a number of page layouts (presentation modes), as listed below:
Page presentation mode (Xamarin.Android / Xamarin.iOS) | Description |
---|---|
PDFViewCtrl.PagePresentationModes.Single / pdftron.PDF.PagePresentationModes.e_single_page | Displays one page at a time, swiping left and right to change pages. |
PDFViewCtrl.PagePresentationModes.SingleCont / pdftron.PDF.PagePresentationModes.e_single_continuous | Displays one page at a time, scrolling up and down to change pages. |
PDFViewCtrl.PagePresentationModes.SingleVert (Android) | Displays one page at a time, swiping up and down to change pages. |
PDFViewCtrl.PagePresentationModes.Facing / pdftron.PDF.PagePresentationModes.e_facing | Displays two pages at a time, with odd-numbered pages on left, swiping left and right to change pages. |
PDFViewCtrl.PagePresentationModes.FacingCont / pdftron.PDF.PagePresentationModes.e_facing_continuous | Displays pages in two columns, with odd-numbered pages on left, scrolling up and down to change pages. |
PDFViewCtrl.PagePresentationModes.FacingVert (Android) | Displays two pages at a time, with odd-numbered pages on left, swiping up and down to change pages. |
PDFViewCtrl.PagePresentationModes.FacingCover / pdftron.PDF.PagePresentationModes.e_facing_cover | Displays two pages at a time, with odd-numbered pages on right, swiping left and right to change pages. |
PDFViewCtrl.PagePresentationModes.FacingCoverCont / pdftron.PDF.PagePresentationModes.e_facing_continuous_cover | Display pages in two columns, with odd-numbered pages on right, scrolling up and down to change pages. |
PDFViewCtrl.PagePresentationModes.FacingCoverVert (Android) | Displays two pages at a time, with odd-numbered pages on right, swiping up and down to change pages. |
You can set page presentation mode in your PDFViewCtrl
by using PagePresentationMode
property:
// Xamarin.Android
mPdfViewCtrl.PagePresentationMode = pdftron.PDF.PDFViewCtrl.PagePresentationModes.Facing;
// Xamarin.iOS
mPdfViewCtrl.PagePresentationMode = pdftron.PDF.PagePresentationModes.e_facing;
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales