Some test text!

keyboard_arrow_down

Get started

Download PDFTron SDKIntegrate with NuGetIntegrate manuallyRun samplesAdd license keyQuick start - view a documentUpdate to latest version
keyboard_arrow_down

Xamarin.Forms

keyboard_arrow_down

Fundamentals

Java binding (Android)Objective-C binding (iOS)Code sharing
keyboard_arrow_down

Document Viewer (Android)

keyboard_arrow_down

Document Viewer (iOS)

Show a document in a ViewControllerShow documents in a tabbed ViewController
keyboard_arrow_down

Document Viewer components

PDFViewCtrl (Android)PDFViewCtrl (iOS)ReflowAnnotation toolbarAnnotation style editorPage sliderAnnotation listDocument outlineUser bookmark listList containerThumbnail browserAdd pages dialogRotate pages dialogView mode dialogCrop pages dialog
keyboard_arrow_down

Annotation and collaboration

OverviewToolManager setupDisable annotation creation/editingOverride annotation handling
keyboard_arrow_down

Advanced customization

Add a custom view to a pageCreate a custom toolPage coloring modePage fit modePage layout modeRealtime collaboration
keyboard_arrow_down

Conversion

Convert documents to PDFConvert HTML to PDF
keyboard_arrow_down

Search

Inline text search
keyboard_arrow_down

Advanced topics

Document savingDocument locking
keyboard_arrow_down

FAQ

System RequirementsPDFTron full vs. standardBuild split APKsLocalizationIcon cheat sheet
keyboard_arrow_down

PDF Processing API

What is PDFNet?Opening a documentSerializing (saving) a documentWorking with pagesWorking with Page ContentWorking with BookmarksWorking with Interactive Forms (AcroForms)PDF SecurityLow-level PDF APIError handling
Document outlinekeyboard_arrow_down

Document outline

In this document
chevron_rightIn Xamarin.Android
chevron_rightIn Xamarin.iOS

linkIn Xamarin.Android

Using outline list in Xamarin.Android is identical to using OutlineDialogFragment in Android. See tutorial here.

For example, the equivalent of the example provided in the Android guide will be:

var outlineDialog = OutlineDialogFragment.NewInstance().SetPdfViewCtrl(mPdfViewCtrl);
outlineDialog.SetStyle((int)DialogFragmentStyle.NoTitle, Resource.Style.CustomAppTheme);
outlineDialog.Show(this.SupportFragmentManager, "outline_list_dialog");
outlineDialog.OutlineClicked += (sender, e) =>
{
    outlineDialog.Dismiss();
};

linkIn Xamarin.iOS

Using outline list in Xamarin.iOS is identical to using OutlineViewController in iOS. See tutorial here.

For example, the equivalent of the example provided in the iOS guide will be:

OutlineViewController outlineViewController = new pdftron.PDF.Controls.OutlineViewController (mPdfViewCtrl);
outlineViewController.OutlineViewControllerOutlineSelected += (sender, e) => {
  // perform custom action
    this.DismissViewController (true, null);
};
outlineViewController.OutlineViewControllerDidCancel += (object sender, EventArgs e) => {
  this.DismissViewController (true, null);
};

var navBrowseBookmarks = new UINavigationController (outlineViewController);
this.PresentViewController (navBrowseBookmarks, true, null);