We have just released Foxit MobilePDF SDK for UWP. Get the most out of your Windows App - Download a Trial Today

Foxit MobilePDF SDK is a Rapid Development Kit for mobile platforms which focuses on helping developers easily integrate powerful Foxit PDF technology into their own apps. With Foxit MobilePDF SDK, even developers with a limited knowledge of PDF can quickly build a professional PDF viewer with just a few lines of code on Android, iOS and UWP platforms.

Feature Spotlight

Android, iOS and UWP Support

Rapid-to-use PDF view control

Text Markup and Drawing Annotation tools

Form filling with JavaScript support

Typewriter and Stamp Tools

Handwritten and Digital Signatures

Bookmarks, thumbnails and comments

Full-text searching

Night mode for reading

Built on Foxit technology used by billions of end-users

Foxit MobilePDF SDK consists of three elements:

View Control

An advanced view control with an easy-to-use API for displaying and manipulating PDF files on Android, iOS and UWP. With Foxit’s renowned and widely used PDF rendering technology at its core, the view control provides fast and high quality zooming, scrolling and page navigation features. The best part? It is designed for rapid integration into your apps.

UI Extensions Component

The UI EXTENSIONS Component builds on the View Control, providing a customizable user interface with built-in tools for text selection, text markup and drawing, form filling, free text typing, standard and dynamic stamping, night mode, outline navigation and full-text searching. The Tools Component is provided as a compiled component for rapid integration, and for complete flexibility, source code is also provided which allows developers to customize the default user interface and control precisely the functionality of the default tools.

PDF Core API

The PDF Core API is the heart of this Rapid Development Kit, it contains the functions used in the View Control and the UI Extensions Component. The PDF Core API can be used independently for document rendering, analysis, text extraction, digital signing, text search, form filling, import/exporting forms data, annotation creation and manipulation and much more. Click on the Features above to see all available features.

Rapid Development Kit Structure

The features of Foxit MobilePDF SDK are provided in three different levels:

View Control

The View Control is a utility class for creating the base viewer for displaying PDFs.

Open documents from different sources

Document handle

File path

Memory (buffer)

Save document

Go to first page

Go to last page

Go to next page

Go to previous page

Go to custom page number

Go to previous view

Go to next view

Get/Set zoom level

Zoom page from the specified position

Kinetic scrolling (flick movement to move the page quickly)

Zoom in or out by double-tap

Get/Set Page layout mode

Continue

Single

Facing (iOS iPad only)

Set Night Mode

Set Background color

Thumbnail view mode

Rotation, scaling of page as device rotates, maintaining visual position

Coordinate conversion

OOM handling (Automatic OOM recovery)

System event handling and view control level event handling

Append a custom page view to the end of the current document

Add a new API to set whether to use tilling when refresh page view (Android only)

UI Extensions Component (source code included)

The UI Extensions Component provides ready-made UI and features which can be customized.

New Attachments Panel

Duplicate Pages

Add Image as a PDF Page

Crop to Show Pages

Digital Signature Tool

Hand Signature Tool

Password Protect Tool

Doc Edit Mode (Insert, Extract, Delete and Reorder Pages)

Attachment Tools for Annotations

Undo/Redo

Reflow Text

Outline Panel

Annotation Panel

Form Filling Tool

Annotation (Add, Delete, Edit)

Text Markup Annotations

Highlight

Underline

Strikeout

Note

Squiggly

Replace Text

Insert Text

Drawing Annotations

Line

Rectangle

Circle

Arrow

Pencil

Other Annotations

Note

Typewriter (FreeText)

Stamp Tool (Standard and Dynamic)

Select tool

Search tool

File Properties (iOS implemented at complete_pdf_viewer demo)

Add/Remove buttons in the Default UI

Show/Hide panel/bar runtime

Add a reduce files size option in the ‘More’ file menu

Type of annotations can be set by configuration in JSON file

Set what to do if an end user clicks the ‘back’ button

Create an event notification when end user opens/clicks a link

Facing mode

Support relative link and gotoR

PDF Core API

The PDF Core API contains all of the non-viewer level functions for Foxit MobilePDF SDK.

Lower level PDF object support

Full access to lower-level PDF object

Functionality not available in high-level API can be implemented using lower level PDF object API.

PDF Document

Set PDF Metadata for a Document

Get/Set PDF Version for a Document

Add/Edit/Remove Document Level Attachments

Indexed Full-Text Search

Load from different sources

Load from path

Load from buffer

Load with file handle

Check whether a document is modified during open

Check a document whether encrypted or not

Get display mode

Get/Create/Edit Outlines

Get/Create/Edit Reading Bookmarks

Get page Label information

Get document info such as Title/Author/Subject

Get catalog

Get document trailer

Get indirect object

Add indirect object

Delete indirect object

Get user permission

Get metadata

Save a document with different flag

Standard

Incrementally

Save document by using object stream (can reduce file size)

Flatten Form Fields

Import and Export Form Data via XML files

Search text in a document

Add Image to PDF files

Provide API to access an image

A new option for saveas function

PDF Pages

Add/Edit/Remove Optional Content Groups (Layers)

Insert and Extract Pages

Page Object Access and Edit

Parse page progressive

Render pages

Get Page dictionary

Load page thumbnail to a bitmap

Calculate the content area of PDF page

Add/Remove annotations

Get Page size

Get page rotation

Get page links (Text Link, Annot Link)

Text Select

Get page box to box type

Rendering

Progressive Rendering

Background/foreground color setting

Halftone image stretching

Outline

Get outlines

Create outlines

Edit outlines

Get/Set Outline Color/Title/Style/Destination

Reading Bookmarks

Get reading bookmarks

Create reading bookmarks

Edit reading bookmarks

Digital Signatures

Add and Verify Digital Signatures from Third-Parties

Pressure Sensitive Ink

Add signature fields

Sign a document

Verify signature

SetDefaultContentsLength method

Annotations (All Types Supported)

Import and Export Annotation through FDF/XFDF

Add/Delete/Edit

Get/Set Property

Forms

Import and Export Form Data through FDF/XFDF

Watermarks

Add Watermark to PDF

Security

Third party security support

Please note that as we have just launched support for UWP some of the above features may not be available yet. For more information contact our sales team.

Below is the full list of changes to MobilePDF SDK 5.0 for iOS and Android.

New features of the PDF Core API

Add Watermark to PDF

Indexed full text search for Android

A new option for saveas function

SetDefaultContentsLength method for Signature feature

Third party security support

Get page box to box type

Provide API to access an image

New features of the UI Extension

Add/Remove buttons in the Default UI

Show/Hide panel/bar runtime

Add a reduce files size option in the ‘More’ file menu

Type of annotations can be set by configuration in JSON file

Set what to do if an end user clicks the ‘back’ button

Create an event notification when end user opens/clicks a link

Facing mode for Android

Support relative link and gotoR

New features of the View Control

Add a new API to set whether to use tilling when refresh page view (Android only)

Add a method to append a view to currently Viewer control (Android only)

Bug Fixes

Rotation bug for iOS

Optimized for mobile

Foxit Software is probably best known for its small, fast and lightweight Foxit Reader app which matches Adobe Reader’s rendering quality, but beats it in speed. Some of the technique’s that Foxit’s products uses to get this superior experience are:

Out Of Memory Management (critical for mobile platforms where memory is scarce)

Better rendering quality

Superior rendering quality is all about supporting the edge cases of PDF. Luckily we have a big team of engineers with a QA team to back them up, plus Fortune 500 customers that demand quality, so we have the resources and the need to provide best-in-league rendering quality.

Let's take a look at how Foxit compares to other players in the industry.

CMYK color

On the left you’ll see how one of our biggest competitors thinks this PDF with CMYK color should be rendered. On the right you can see how we think it should be rendered. Foxit’s color conversion engine is precise.

Competitor CMYK color

Foxit CMYK color

Shading

On the left our competitor’s rendering engine stumbles on this radial shading pattern function. On the right you can see that Foxit correctly renders all shading types.

Shading of competitor

Shading by Foxit

Annotating Vertical Text

On the left competing rendering engines, including Adobe Acrobat, fail to properly recognize the vertical text in this document and adjust the annotations accordingly. Foxit’s deep experience servicing different regions all around the world means that its technology has been refined to confidently handle vertical and right-to-left text.

Vertical text of competitor

Vertical text of Foxit

Out of memory management

OOM will be implemented in RDK level internal, the view control level. Users (developers) don’t need to do anything for OOM recover .

For V1.0, if OOM happen, the APP will not crash, our RDK will init the library again, and then reopen the document and go to the page before OOM happen, but the edit action of doc before OOM will be lose, for example the end user add a annotation before OOM, and the annotation will be lose after recover.

Also, RDK will notify the OOM happen and the recovery finished.

Superior font handling

Foxit’s battle-tested font engine means that it can handle even the trickiest of font situations. In the examples below the PDF uses non-embedded fonts which can be a challenge when rendering the PDF. Foxit’s superior font matching algorithm is able to accurately determine which substitute most closely resembles the original non-embedded font and uses that to display the text. On the left you can see how less mature font matching algorithm’s display the PDF and on the right you can see how Foxit and Adobe display the PDF.

Font rendering of competitor

Font rendering of Foxit

Better rendering speed

The speed of Foxit’s rendering engine is renowned and one of the reasons products such as Foxit Reader are so popular! In our testing using a repository of 1331 documents the Foxit rendering engine was able to process 1116 test files as fast or faster than one of our key competitors. In fact, our competitor couldn’t process 188 of those test files at all. Not only is Foxit technology; it’s faster, more accurate, … and it works.

World-wide support

Over the past 15 years Foxit has grown to have a world-wide presence spanning the US, China, Europe, Japan, Taiwan, South Korea and Australia. This means that Foxit can provide you with the local support that you need through email, online messaging and phone calls in real-time.