Some test text!

menu
search

View mode (iOS)

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.

Page fit mode

PDFViewCtrl's page view mode controls the default zoom level of pages and documents. New documents will automatically open at the zoom level specified by the mode.

linkPage view modes

PDFViewCtrl supports the following page view modes:

Page view mode (Xamarin.Android / Xamarin.iOS)DescriptionScreenshot-portraitScreenshot-landscape

| PDFViewCtrl.PageViewModes.FitPage / pdftron.PDF.PageViewModes.e_fit_page | The zoom is set so that the entire page is visible without scrolling. |quick menu image | page view mode | | PDFViewCtrl.PageViewModes.FitWidth / pdftron.PDF.PageViewModes.e_fit_width | The zoom is set so that the page's width matches the viewer's width. | quick menu image | page view mode | | PDFViewCtrl.PageViewModes.FitHeight / pdftron.PDF.PageViewModes.e_fit_height | The zoom is set so that the page's height matches the viewer's height. |quick menu image | page view mode | | PDFViewCtrl.PageViewModes.Zoom / pdftron.PDF.PageViewModes.e_zoom | The viewer's zoom is not adjusted based on the page. |quick menu image | page view mode |

linkSet the default page fit mode

You can set a default page fit mode in your PDFViewCtrl by using PageRefViewMode property.

linkSet the page fit mode dynamically

If you want to dynamically change the page fit mode, use PageViewMode property. Note that when the user flips the page, the page view mode will be automatically reset to the default mode set by PageRefViewMode.

// Xamarin.Android
mPdfViewCtrl.PageViewMode = pdftron.PDF.PDFViewCtrl.PageViewModes.FitPage;

// Xamarin.iOS
mPdfViewCtrl.PageViewMode = pdftron.PDF.PageViewModes.FitPage;

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close