maui-404632-pdf-viewer-pdf-viewer.md
The DevExpress PdfViewer component for .NET MAUI allows you to display PDF documents in your applications.
Review our demo app on GitHub to try out the PdfViewer control:
The following figure demonstrates basic elements of a PDF viewer:
Use ShowToolbar and ShowEditToolbar properties to display or hide PDF viewer toolbars.
Download and install the DevExpress.Maui.Pdf package from the DevExpress NuGet Gallery to obtain the PdfViewer component. For more information on how to build your first .NET MAUI app, refer to the following help topic: Get Started.
The following code snippet adds a PDF viewer to a page:
<ContentPage ...
xmlns:dx="http://schemas.devexpress.com/maui">
<dx:PdfViewer x:Name="pdfViewer" />
</ContentPage>
The PDF Document API library allows you to use the following features in your PDF Viewer-powered app:
The following example uses Office File API to sign PDF files in a .NET MAUI App:
Note
The digital signature API ships with the Office File API library. You need an active license for the DevExpress Office File API Subscription to use this feature in production code. For pricing information, refer to the following page: DevExpress Subscription Plans.
To sign documents in the PDF Viewer UI, you need a license that includes only DevExpress .NET MAUI controls. For more information about built-in digital signature functionality, refer to: Sign Documents in DevExpress PDF Viewer.
Our mobile .NET MAUI PDF Viewer is designed to view simple documents. Before integrating a PDF Viewer into your application, check if the control meets your requirements and consider the following points:
We recommend testing your application under conditions similar to the production environment, using real PDF documents, target mobile devices, and operating systems.
Load Document to PDF ViewerThis topic explains how to load PDF files to the PDF viewer control.Page NavigationThis topic describes how to navigate through PDF file pages and content.Select and Highlight ContentThis document explains how to select content and apply marking effects to text.Add AnnotationsThis topic explains how to add different graphic annotations to a PDF document.Sign DocumentsThis document explains how users can sign PDF documents.Interactive FormsThis document lists supported interactive field types and explains how users can fill in forms in PDF documents.CommandsThis topic lists PDF viewer commands you can use to implement custom toolbars.