> 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/guides/api.md).

# Xamarin API

Explore the differences in APIs between Xamarin.Android and Xamarin.iOS with this comprehensive list. Discover unique features and functionalities for each platform. The Apryse Xamarin SDK streamlines

## Xamarin.Android

<a href="https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/index.html" class="button primary">Core API</a><a href="https://sdk.apryse.com/api/xamarinandroid/tools/api/index.html" class="button primary">Tools API</a>

## Xamarin.iOS

<a href="https://sdk.apryse.com/api/xamarinios/pdfnet/api/index.html" class="button primary">Core API</a><a href="https://sdk.apryse.com/api/xamarinios/tools/api/index.html" class="button primary">Tools API</a>

## API Differences

The following table shows a list of Apryse APIs that are different on Xamarin.Android and Xamarin.iOS. **Any APIs not mentioned below are identical.**

| API               | Xamarin.Android                                                                                                                                                                                       | Xamarin.iOS                                                                                                                                  |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| PDFNet.Initialize | [`PDFNet.Initialize(Context, Int32, String)`](https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/pdftron.PDFNet.html#pdftron_PDFNet_Initialize_Android_Content_Context_System_Int32_System_String_) | [`PDFNet.Initialize(String)`](https://sdk.apryse.com/api/xamarinios/pdfnet/api/pdftron.PDFNet.html#pdftron_PDFNet_Initialize_System_String_) |
| Print API         | [`Print`](https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/pdftron.PDF.Print.html)                                                                                                                | [`PTPrint`](https://sdk.apryse.com/api/xamarinios/tools/api/pdftron.PDF.PTPrint.html)                                                        |
| PDFViewCtrl API   | [`PDFViewCtrl`](https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/pdftron.PDF.PDFViewCtrl.html)                                                                                                    | [`PDFViewCtrl`](https://sdk.apryse.com/api/xamarinios/tools/api/pdftron.PDF.PDFViewCtrl.html)                                                |
| Tools library API | [Tools API](https://sdk.apryse.com/api/xamarinandroid/tools/api/index.html)                                                                                                                           | [Tools API](https://sdk.apryse.com/api/xamarinios/tools/api/index.html)                                                                      |

The following table shows a list of Apryse APIs that are **extra** on one platform due to platform specifc APIs.

| API                            | Xamarin.Android                                                                                                                                                                                                                      | Xamarin.iOS |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
| PDFDraw\.GetBitmap             | [`Bitmap PDFDraw.GetBitmap(Page)`](https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/pdftron.PDF.PDFDraw.html#pdftron_PDF_PDFDraw_GetBitmap_pdftron_PDF_Page_)                                                                    | N/A         |
| PDFDoc.CreateFromAndroidFilter | [`PDFDoc.CreateFromAndroidFilter(Filters.SecondaryFileFilter)`](https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/pdftron.PDF.PDFDoc.html#pdftron_PDF_PDFDoc_CreateFromAndroidFilter_pdftronprivate_Filters_SecondaryFileFilter_) | N/A         |
| Image.Create                   | [`Image.Create(SDFDoc, Bitmap)`](https://sdk.apryse.com/api/xamarinandroid/pdfnet/api/pdftron.PDF.Image.html#pdftron_PDF_Image_Create_pdftron_SDF_SDFDoc_Android_Graphics_Bitmap_)                                                   | N/A         |


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/xamarin/guides/api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
