Product

    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.

    Web Demo
    Foxit PDF SDK
    Used everywhere

    Trusted by Some of the World's Largest Companies

    Take a look at who uses our technology.

    aig
    amazon
    bank of america
    google
    ibm
    intel
    jpmorgan
    nasdaq
    tsb
    microsoft
    wells fargo
    aig
    amazon
    bank of america
    google
    ibm
    intel
    jpmorgan
    nasdaq
    tsb
    microsoft
    wells fargo

    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++, C#, Java or Python. 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.

    Javaserver.js · 100% · 6/6 ln
    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
    ", 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
    ", 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);

    Developing with Foxit

    Built for Linux

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

    C++

    C++

    Java

    Java

    Linux

    Linux

    ooooo
    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.

    11111111111
    Key Features

    Everything you need in one SDK

    Smart Forms

    Add enterprise-ready PDF form capabilities to Linux applications and workflows. Empower users to complete digital forms effortlessly while promoting paperless operations.

    Explore More

    Digital Signature

    Streamline document approval on Linux with integrated PDF signing. Give users a simple, reliable way to sign electronically and accelerate mission-critical processes.

    Explore More

    PDF Annotations

    Deliver robust PDF annotation features for Linux-based solutions. Help teams review, comment, and collaborate on documents with clarity and confidence.

    Explore More
    Robust functionality

    More features

    Viewing & rendering

    Provide high-fidelity PDF viewing and rendering for Linux-based applications, making it easier to deliver accurate document display and optimized performance for demanding workflows.

    Explore More

    Full-text search

    Deliver fast full-text search for PDF documents, languages, and encoding types using an SQLite-based engine that helps users quickly surface relevant results on Linux systems.

    Explore More

    Premium extensions

    Add-ons

    XFA Forms

    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.

    Explore More
    Digital Rights Management

    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.

    Try our web demo
    PDF/A

    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.

    Explore More
    Get started

    Ready to Develop Your PDF Solution?

    Web Demo

    Try our SDK for Web in your browser. No download or login required.

    VIEW DEMO

    Ready to get started?

    Licensing tailored to you

    Our sales engineers are PDF experts and coders by trade. They'll answer any technical questions, help you build a proof of concept, and create a license that suits your needs.

    30-day free trial

    Try our advanced PDF technology on your chosen platform(s), completely free, for 30 days.