PDFViewCtrl page presentation mode

In this document
chevron_rightIn Xamarin.Android
chevron_rightIn Xamarin.iOS

In Xamarin.Android

Changing the page presentation mode in Xamarin.Android is identical to changing the page presentation mode in Android. See tutorial here.

The enum mapping is as follows:

Enum AndroidEnum Xamarin.Android
PDFViewCtrl.PagePresentationMode.SINGLEPDFViewCtrl.PagePresentationModes.Single
PDFViewCtrl.PagePresentationMode.SINGLE_CONTPDFViewCtrl.PagePresentationModes.SingleCont
PDFViewCtrl.PagePresentationMode.FACINGPDFViewCtrl.PagePresentationModes.Facing
PDFViewCtrl.PagePresentationMode.FACING_CONTPDFViewCtrl.PagePresentationModes.FacingCont
PDFViewCtrl.PagePresentationMode.FACING_COVERPDFViewCtrl.PagePresentationModes.FacingCover
PDFViewCtrl.PagePresentationMode.FACING_COVER_CONTPDFViewCtrl.PagePresentationModes.FacingCoverCont

To set the page presentation mode:

mPdfViewCtrl.PagePresentationMode = pdftron.PDF.PDFViewCtrl.PagePresentationModes.Single;

where mPdfViewCtrl is an instance of PDFViewCtrl.

In Xamarin.iOS

Changing the page presentation mode in Xamarin.iOS is identical to changing the page presentation mode in iOS. See tutorial here.

The enum mapping is as follows:

Enum iOSEnum Xamarin.iOS
e_trn_single_pagepdftron.PDF.PagePresentationModes.e_single_page
e_trn_single_continuouspdftron.PDF.PagePresentationModes.e_single_continuous
e_trn_facingpdftron.PDF.PagePresentationModes.e_facing
e_trn_facing_continuouspdftron.PDF.PagePresentationModes.e_facing_continuous
e_trn_facing_coverpdftron.PDF.PagePresentationModes.e_facing_cover
e_trn_facing_continuous_coverpdftron.PDF.PagePresentationModes.e_facing_continuous_cover

To set the page presentation mode:

mPdfViewCtrl.PagePresentationMode = pdftron.PDF.PagePresentationModes.e_single_page;

where mPdfViewCtrl is an instance of PDFViewCtrl.