What's New in 2019 Volume 3: PDF Viewer Xamarin | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (172).NET Core  (29).NET MAUI  (186)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (209)BoldSign  (12)DocIO  (24)Essential JS 2  (106)Essential Studio  (199)File Formats  (63)Flutter  (129)JavaScript  (218)Microsoft  (118)PDF  (80)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (871)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (49)Windows Forms  (61)WinUI  (68)WPF  (155)Xamarin  (160)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (145)Chart  (123)Cloud  (14)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (62)Development  (608)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (37)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (479)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (39)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (29)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (361)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (30)Visual Studio Code  (17)Web  (572)What's new  (311)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
What's New in 2019 Volume 3 - PDF Viewer Xamarin.Forms

What’s New in 2019 Volume 3: PDF Viewer Xamarin.Forms

Most of you are well aware of the Essential Studio 2019 Volume 3 release. For this release, the Xamarin.Forms PDF Viewer component has some most anticipated feature updates, which I am going to walk through in this blog.

Single-page view

You can now view PDF files page by page with horizontal navigation support. The single-page view mode offers better readability for e-book readers. You can perform all the operations (including annotations, text search, bookmark navigations, etc.) in single-page view mode like in the continuous mode.

Flip Horizontally - PDF Viewer Xamarin
Flip Horizontally – PDF Viewer Xamarin
Scroll Horizontally - PDF Viewer Xamarin
Scroll Horizontally – PDF Viewer Xamarin

The view mode can be changed using the PageViewMode property of the PDF Viewer. The enum PageViewMode has two values: Continuous and PageByPage. The default value of this property is Continuous. The following code example illustrates how to switch to the page-by-page view mode.

//Enable the Single page view mode
pdfViewer.PageViewMode = PageViewMode.PageByPage;

To learn more about switching to single-page view mode and its features, please refer to our documentation for single-page view mode.

You can download the sample for the single page view mode from this GitHub location.

Load encrypted PDF document

PDF Viewer now allows loading and viewing password-protected PDF files by getting the password from the user. The following code example shows how to load an encrypted PDF file.

//Document password
string password = "PASSWORD";

//Load the encrypted PDF document
pdfViewer.LoadDocument(pdfStream, password)

In the previous code example, pdfStream is a stream instance read from the encrypted PDF and password is the key with which the PDF file is encrypted.

To learn more about loading encrypted documents and handling invalid passwords, please refer to our documentation, Loading password protected PDFs.

You can download the sample for loading encrypted PDF documents from this GitHub location.

Minimum zoom percentage

PDF files loaded in the PDF Viewer can now be minimized to a certain level. This feature offers better readability on high-definition devices, since the document will be magnified to fit to the page width by default.

The following code example will set the minimum zoom percentage of PDF Viewer instance to 10%.

//Set the minimum zoom percentage value to ‘10’
pdfViewer.MinimumZoomPercentage = 10;

To learn more about zoom customization, please refer to our documentation page, Working with magnification.

You can download the sample for minimizing the zoom factor of PDF Viewer to a certain level from this GitHub location.


If you are an existing Syncfusion user, please download the latest version from the License and Downloads page and try the new features for yourself. Also, our NuGet packages are available on NuGet.org. If you aren’t a customer yet, you can try our 30-day free trial to check out these features. Try our other samples from this GitHub location.

If you wish to send us feedback or would like to submit any questions, please feel free to post them in the comments section below, or contact us through our support forumDirect-Trac, or feedback portal. We are happy to assist you!

If you liked this post, we think you will also enjoy the following:


Share this post:

Comments (1)

Very good write-up. I definitely lobe this site.

Keep it up!

Comments are closed.

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top