Some test text!

keyboard_arrow_down

Get started

Quick start - view a documentDownload PDFTron SDKIntegrate with GradleIntegrate manuallyRun samplesAdd license keyUpdate to latest versionTroubleshooting
keyboard_arrow_down

FAQ

System requirementsDocument lockingDocument savingRun project in Android StudioRun project with source codePDFTron full vs. standardReduce size of APK
keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

OverviewPDFViewCtrlReflowQuick menuCustomize quick menuAnnotation toolbarAnnotation style editorCustomize annotation style editorPage sliderList containerAnnotation listDocument outlineUser bookmark listThumbnail browserAdd pages dialogCrop pages dialogRotate pages dialogView mode dialog
keyboard_arrow_down

Annotation and collaboration

keyboard_arrow_down

Advanced customization

OverviewAdd a custom view to a pageCreate a custom toolPage coloring modePage fit modePage layout modeScrolling directionRight-to-left support
keyboard_arrow_down

Conversion

keyboard_arrow_down

Parsing and extraction

keyboard_arrow_down

Digital signatures

keyboard_arrow_down

Search

keyboard_arrow_down

Advanced topics

PrintUnderstand coordinatesGenerate page thumbnailsChange annotation propertiesDelete annotationsTool class hierarchy
keyboard_arrow_down

Other frameworks

keyboard_arrow_down

Troubleshooting

Multidex build errorReduce memory consumptionDetachCurrentThread warning
keyboard_arrow_down

Reference

ProGuardLocalizationIcon 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
Overviewkeyboard_arrow_down

Overview

The highly configurable all-in-one document reader and PDF editor that comes with the PDFTron Android SDK is composed of Material Design UI components that are available in the tools package. These components can be used as part of your application to create customizable UI that interact with the document viewer. A visual reference for these components is shown below:

KeyUI ComponentDescription
1PDFViewCtrlPDFViewCtrl is a ViewGroup that can be embedded in any layout. It encapsulates a rich set of functionalities for interactive viewing of PDF documents
2Text searchSearch text in a PDF document
3Share documentShare a PDF document from your app
4View mode dialogAllows users to: pick page presentation mode, select page color mode, rotate pages, and crop pages
Crop pages dialogManually or automatically crop pages in a PDF document
ReflowExtract the reflowable layout of each page in a PDF document to an HTML file
5Add pages dialogAdd new pages to an existing document or create a new document with new pages
Rotate pages dialogRotate pages of the opened document by 90, 180 and 270 degrees
6Thumbnail browserEdit pages of a document including add, remove, re-arrange, rotate and duplicate pages
7Page sliderA LinearLayout that contains an AppCompatSeekBar to change pages
8List containerA horizontal layout to display the Annotation list, Document outline, and User-defined bookmark list in separate tabs
Annotation listShows a list of all annotations in a document
Document outlineShows a document outline (PDF Bookmark) that can be used to navigate the document
User bookmark listShows a list of user-defined bookmarks that can be used to navigate the document
9Annotation toolbarA toolbar consisting of various annotation creation tools
10Quick menuA convenient annotation popup menu that appears when a user long-presses on a blank space or on text
11Annotation style editorDisplays annotation style properties in a bottom sheet for the user to edit