Foxit PDF SDK
for Linux

Our PDF SDK for Linux is a powerful solution for any Linux enterprise or cloud application, ideal for any Linux developer who needs a fully customizable PDF Viewer or back-end process.

The best tools for developers

Fast integration

Embedding Foxit PDF SDK into your Linux based applications can be easy. Simply open your favorite Linux IDE, copy over the libraries that you need and start developing in C++ or Java. Our documentation and sample projects guide you through set up and development with our Linux PDF SDK. Our libraries are available for both 32- and 64- bit OS.

public static void main(String[] args) throws PDFException, IOException { createResultFolder(output_path); int error_code = Library.initialize(sn, key); if (error_code != e_ErrSuccess) { System.out.println(String.format("Library Initialize Error: %d\n", error_code)); return; } String input_file = input_path + "AboutFoxit.pdf"; String output_file1 = output_path + "bookmark_add.pdf"; String output_file2 = output_path + "bookmark_change.pdf"; String bookmark_info_file = output_path + "bookmark_info.txt"; try { PDFDoc doc = new PDFDoc(input_file); error_code = doc.load(null); if (error_code != e_ErrSuccess) { System.out.println(String.format("The Doc [%s] Error: %d\n", input_file, error_code)); return; } // Show original bookmark information. showBookmarksInfo(doc, bookmark_info_file); //Get bookmark root node or Create new bookmark root node. Bookmark root = doc.getRootBookmark(); if (root.isEmpty()) { root = doc.createRootBookmark(); } for (int i = 0; i < doc.getPageCount(); i += 2) { Destination dest = Destination.createFitPage(doc, i); String ws_title = String.format("A bookmark to a page (index: %d)", i); Bookmark child = root.insert(ws_title, e_PosLastChild); child.setDestination(dest); child.setColor(i * 0xF68C21); } doc.saveAs(output_file1, e_SaveFlagNoOriginal);
Java
server.js 100% | 6/6 ln : 4
Developing with Foxit

Built for Linux

PDF SDK for Web is built on the most popular web technologies, and requires minimal server-side resources.

Developer Benefits

Designed for faster development

Full Linux support

Foxit specializes in providing a powerful solution for both embedded Linux operating systems optimized for hardware products and scalable cloud applications thanks to its power, flexibility and efficiency.

Low memory use

PDF SDK for Linux keeps RAM use to a minimum even through the toughest tasks. Additionally, our out-of-memory (OOM) functionality ensures your application will always recover gracefully from out of memory exceptions.

Feature-rich

Our feature set is consistent across desktop, server and mobile platforms to make cross platform development linear and easy. We are always updating our feature set, so keep an eye on our product page for announcements.

Powered by Foxit’s core technology

The core technology of Foxit PDF SDK has been around for years and is trusted by many of the world’s big businesses, Foxit’s powerful and robust engine makes document viewing fast and consistent in all environments.

Smart Forms

Give users the ability to fill out digital forms on the go with their device of choice. Apps have never been more productive!

Read more Read more

Digital Signature

Use ink signatures to let customers sign documents in their digital devices. Sign PDF in web apps easily without needing to print a file to sign again!

Read more Read more

PDF Annotations

Our PDF SDK provides full support for displaying and annotating PDF in web applications with an extensive range of functions for creating, editing or importing/exporting annotations.

Read more Read more
Robust functionality

More Features

Viewing & rendering

Our core API provides for high-fidelity rendering of PDF documents with optimized performance for desktop and mobile platforms.

Full-text search

Fast full-text search for any PDF document, language, or encoding type. The SQLite-based full-text search delivers near-instant results, even for repositories on any digital device.

Extras

Add-ons

XFA Forms

XFA Forms are XML-based forms wrapped inside a PDF. Securely capture, present, move, process, output, update and print information associated with static and dynamic XFA forms. Simplify your data sharing, transportation and availability with XFA.

Digital Rights Management

Keep your PDF documents secure by connecting your application and files to Microsoft’s Rights Management Services platform natively. Foxit PDF SDK also integrates with your IRM and DRM solution.

PDF/A

Leverage our conversion and verification technology to turn regular PDFs into PDF/A compliant documents. If you are already working with PDF/A in your processes, proactively verify third-party PDFs you receive are PDF/A compliant.

Used everywhere

Trusted by some of the world’s largest companies.

Take a look at who uses our technology.