Some test text!

keyboard_arrow_down

Get started

Download PDFTron SDKIntegrate with GradleIntegrate manuallyRun samplesAdd license keyQuick start - view a documentProGuardUpdate to latest versionTroubleshooting
keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

PDFViewCtrlReflowFloating context menuCustomize floating context menuAnnotation toolbarAnnotation style editorCustomize annotation style editorPage sliderAnnotation listDocument outlineUser bookmark listList containerThumbnail browserAdd pages dialogRotate pages dialogView mode dialogCrop pages dialog
keyboard_arrow_down

Annotation and collaboration

OverviewRead only modeDisable annotation creation/editingDefault annotation propertiesAnnotation propertiesEventsOverride annotation handlingShow and hide existing annotationsUndo and redoRealtime collaboration
keyboard_arrow_down

Advanced customization

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

Conversion

Convert documents to PDFConvert HTML to PDF
keyboard_arrow_down

Search

Text search
keyboard_arrow_down

Other Frameworks

keyboard_arrow_down

Advanced topics

Understand coordinatesDocument savingDocument lockingGenerate page thumbnailsTool class hierarchy
keyboard_arrow_down

FAQ

System RequirementsRun project in Android StudioRun project with source codePDFTron full vs. standardLocalizationIcon cheat sheetReduce size of APKEnable multidexOut of memory when rotating device multiple timesReduce memory consumptionDetachCurrentThread warning
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
PDFTron full vs. standardkeyboard_arrow_down

PDFTron full or standard? Which version is for me?

PDFTron library comes in two versions: full and standard.

In order to help our customers to create applications with a smaller APK size, the standard version omits a number of features such as:

Rendering speed and quality are the same for both versions of the library.

The following table compares the APK size of a sample project in which different architecture and PDFTron library versions were used.

PDFTron libraryArchitecturethe sample APK size
Fullarmeabi16 MB
Fullarmeabi-v7a15 MB
Fullarm64-v8a16 MB
Fullx8616 MB
Fullx86_6417 MB
Fullcombined64 MB
Standardarmeabi9 MB
Standardarmeabi-v7a9 MB
Standardarm64-v8a9 MB
Standardx8610 MB
Standardx86_6410 MB
Standardcombined31 MB

Here are some scenarios to help you decide which one to use:

  • I need minimum size possible and I only need to render PDFs
    Standard version

  • I want to use the demo utils package com.pdftron:demo or demo.aar
    Full version

  • I need to display non-pdf documents
    Full version

  • I need to display documents with reflow
    Full version

  • I need to optimize, redact, or flatten PDFs
    Full version

  • I need to convert PDF pages to TIFF formats
    Full version

  • I need to build a file browser that displays all files on a device with first page preview for each
    Full version

  • I need right to left support
    Full version

If none of the above fits your situation, you are more than welcome to consult the PDFTron support team so we can find the best option for you.