> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/xamarin/viewer.md).

# Viewer

- [Xamarin PDF viewer library](https://docs.apryse.com/xamarin/viewer/viewer.md): Learn how to configure and customize the viewer hierarchy in Android, including view modes, scroll direction, themes, events, PDF streaming, localization, and more. Optimize your viewing experience no
- [Migrating from a PTDocumentViewController to a PTDocumentController](https://docs.apryse.com/xamarin/viewer/viewer/new-ui-migration-ios.md): Learn about the new UI in version 8.0.0 with the PTDocumentController, a replacement for PTDocumentViewController. Update your code seamlessly and understand the changes needed for a smooth transition
- [Customize the Document Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-ui-customization-ios.md): Learn how to customize and manipulate toolbars in your app with PTDocumentController. Hide, show, remove, and add buttons programmatically for a seamless user experience. Add custom behaviors and modi
- [PDF viewer (PTPDFViewCtrl) settings for Xamarin](https://docs.apryse.com/xamarin/viewer/viewer/customize-pdfviewctrl-i.md): Learn how to optimize PDF display in Xamarin.iOS with PDFViewCtrl. Control page presentation, zoom levels, annotations, and more using its extensive API. Click to explore now! The Apryse Xamarin SDK s
- [Customize ToolManager](https://docs.apryse.com/xamarin/viewer/viewer/toolmanager-config.md): Learn how to customize ToolManager in Xamarin.Android for PDF interaction tools. Build default or custom ToolManager programmatically, support image stamps and signatures, and create a custom style re
- [Customize the Document Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-ui-customization.md): Customize the theme of PdfViewCtrlTabHostFragment2 with ViewerBuilder2. Learn how to set custom attributes for styling UI components like toolbar, bottom bar, and more. Optimize your PDF viewer theme
- [Customizing Xamarin PDF viewer with PDFViewCtrl](https://docs.apryse.com/xamarin/viewer/viewer/customize-pdfviewctrl.md): Learn how to customize your PDF viewing experience in Xamarin.Android with PDFViewCtrl. Control page colors, zoom levels, scrolling direction, and more. Click here for a comprehensive guide! The Aprys
- [New Document Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-document-viewer-ui-ios.md): Discover the enhanced UI features of Apryse's iOS SDK Version 7.1.5, including customizable toolbars, annotation presets, and a user-friendly bottom bar for seamless navigation. Upgrade to PTDocumentC
- [Understanding coordinates](https://docs.apryse.com/xamarin/viewer/viewer/coordinates.md): Learn about coordinate spaces in Xamarin.Android for PDF page and Android screen coordinates. Understand the differences and how to work with them effectively. The Apryse Xamarin SDK streamlines secur
- [Migrate to the New Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-ui-migration.md): Learn how to easily migrate to the new UI in your app with a few simple steps. Update libraries, migrate PdfViewCtrlTabHostFragment, and customize your theme for a seamless transition. The Apryse Xama
- [Integrate the new Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-ui-integration.md): Learn how to integrate a document viewer with a new UI in your app. Follow this comprehensive guide for UI migration, integrating via Fragment or Activity, and customizing annotation toolbar buttons.
- [New Document Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-document-viewer-ui.md): Discover the latest updates in Apryse's Android SDK with PdfViewCtrlTabHostFragment2, featuring enhanced annotation toolbar, multi-tab navigation, stamp and signature flows, and more. Upgrade now for
- [Open & stream PDF from URL in Xamarin](https://docs.apryse.com/xamarin/viewer/viewer/view-online-pdfs.md): Efficiently open & stream PDFs from URL in Xamarin with Apryse Technology that allows partial content online PDF viewing.
- [Integrate the new Viewer UI](https://docs.apryse.com/xamarin/viewer/viewer/new-ui-integration-ios.md): Migrate seamlessly to a new document viewer with our migration guide. Follow the steps for single and tabbed document viewers for a smooth transition. Upgrade now! The Apryse Xamarin SDK streamlines s
- [New Document Viewer UI](https://docs.apryse.com/xamarin/viewer/new-document-viewer-ui-x.md): Discover the new Document Viewer UI in Xamarin.Android with Apryse's Android SDK version 7.1.5! Enhanced features include improved annotation toolbar, multi-tab navigation, stamp and signature flows,
- [Document Viewer](https://docs.apryse.com/xamarin/viewer/viewer-overview.md): Learn how to integrate a document viewer in Xamarin.Android with Apryse's library. Choose between DocumentActivity, PdfViewCtrlTabHostFragment2, PdfViewCtrlTabFragment2, or PDFViewCtrl for your custom
- [Integrate the new Viewer UI](https://docs.apryse.com/xamarin/viewer/new-ui-integration-x.md): Learn how to integrate the new Viewer UI in Xamarin.Android with this comprehensive guide. Follow step-by-step instructions for adding the viewer with the new UI and migrating from your existing viewe
- [Customize the document viewer](https://docs.apryse.com/xamarin/viewer/viewer-config.md): Learn how to easily customize your document viewer in Xamarin.Android with our tutorial. Configure DocumentActivity and PdfViewCtrlTabHostFragment2 for a tailored experience. The Apryse Xamarin SDK st
- [Customize the Document Viewer UI](https://docs.apryse.com/xamarin/viewer/new-ui-customization-x.md): Customize the Document Viewer UI in Xamarin.Android by setting themes and styles. Learn how to enhance the user experience with custom attributes and styles for various UI components. The Apryse Xamar
- [Customize PDFViewCtrl](https://docs.apryse.com/xamarin/viewer/custom-viewer.md): Learn how to customize PDF viewing experience in Xamarin.Android with Apryse SDK. Control page colors, layout, scrolling, and more. Enhance user experience now! The Apryse Xamarin SDK streamlines secu
- [View mode](https://docs.apryse.com/xamarin/viewer/view-mode.md): Discover how to customize view modes in Xamarin layouts for optimal presentation. Learn about fitting, zoom settings, and reflow technology with Apryse SDK. Choose settings with a graphical UI. The Ap
- [Scroll direction in Xamarin viewer](https://docs.apryse.com/xamarin/viewer/scroll-direction.md): Learn how to change scrolling direction in PDFViewCtrl for vertical and horizontal scrolling modes. Enable continuous or non-continuous mode for a seamless reading experience on Xamarin.Android and Xa
- [Customize PDFViewCtrl](https://docs.apryse.com/xamarin/viewer/themes.md): Customize color themes in Xamarin.Android and Xamarin.iOS viewers with day, night, and custom color modes. Learn how to set viewer themes and color modes for optimal viewing experience. The Apryse Xam
- [Viewer events](https://docs.apryse.com/xamarin/viewer/events.md): Learn how to detect and respond to events in Xamarin.Android using Apryse SDK. Add event listeners to PdfViewCtrlTabHostFragment2 and PdfViewCtrlTabFragment2 for enhanced document viewer functionality
- [Open & stream PDF from URL in Xamarin Viewer](https://docs.apryse.com/xamarin/viewer/stream-pdf.md): Efficiently open & stream PDFs from URL in Xamarin with Apryse Technology that allows partial content online PDF viewing.
- [Right to Left Scrolling support](https://docs.apryse.com/xamarin/viewer/rtl-support.md): Enable right-to-left (RTL) support in Xamarin.Android for your document viewer with Apryse SDK. Learn how to change scrolling direction and reading direction of documents effortlessly. The Apryse Xama
- [Convert between different coordinates in Xamarin](https://docs.apryse.com/xamarin/viewer/coordinates.md): Understand PDF coordinate systems with PDFViewCtrl. Learn how to convert between PDF page, screen, and scrolling coordinates effortlessly. Master the nuances of each system for precise positioning. Th
- [Localization for Xamarin viewer tools](https://docs.apryse.com/xamarin/viewer/localization.md): Learn how to localize Xamarin.Android and Xamarin.iOS Tools for different languages. Follow step-by-step instructions to add translations and create C# NuGet packages for your applications. The Apryse
- [Migrate to the New Viewer UI](https://docs.apryse.com/xamarin/viewer/new-ui-migration-x.md): Learn how to easily migrate to the new Viewer UI in Xamarin.Android and Xamarin.iOS with a few simple steps. Update your libraries, references, and themes for a seamless transition. The Apryse Xamarin
- [PDF viewer samples for Xamarin](https://docs.apryse.com/xamarin/viewer/samples.md): Discover UI samples for Xamarin.Android and Xamarin.iOS showcase sample apps. Explore features like Viewer, Zoom/display modes, and Multi-Tabbed Viewer. Click to view the demos now! The Apryse Xamarin
- [APIs for PDF Viewer in Xamarin](https://docs.apryse.com/xamarin/viewer/apis.md): Discover utility classes for document viewing in Xamarin.Android and Xamarin.iOS with PDFTron. Learn about DocumentActivity, PdfViewCtrlTabHostFragment, PdfViewCtrlTabFragment2, PTDocumentController,


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/xamarin/viewer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
