PRODUCT

    Foxit PDF SDK

    Our high-performance libraries add robust PDF functionality to enterprise, mobile, and cloud applications across all platforms, using the most popular developer languages and environments.

    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

    What Platform Are You Working on?

    Build on a modern tech stack that integrates tightly with the platform you’re working on. We continuously improve our products and deliver new features to drive your success.

    We grow with you as your requirements change and your project evolves.

    Read the Docs
    C++
    using namespace std;
    using namespace foxit;
    using namespace foxit::common;
    using foxit::common::Library;
    using namespace pdf;
    using namespace annots;
    using foxit::pdf::annots::Line;
    
    // Create a blank document
    PDFDoc doc = PDFDoc();
    
    // Add a blank A4 page to the document
    PDFPage page = doc.InsertPage(0, 595, 842);
    
    // Create a note annotation 
    annots::Note note(page.AddAnnot(Annot::e_Note, RectF(10, 350, 50, 400)));
    
    // Set note annotation properties
    note.SetIconName("Comment");
    note.SetSubject(L"Note");
    note.SetTitle(L"Foxit SDK");
    note.SetContent(L"Note annotation.");
    note.SetCreationDateTime(GetLocalDateTime());
    note.SetModifiedDateTime(GetLocalDateTime());
    note.SetUniqueID(WString::FromLocal(RandomUID()));
    
    // Add state annotation to note annotation
    Note state = note.AddStateAnnot(Markup::e_StateModelReview, Markup::e_StateAccepted);
    state.SetContent(L"Accepted set by Foxit SDK");
    state.SetTitle(L"Foxit SDK");
    state.SetModifiedDateTime(GetLocalDateTime());
    state.SetUniqueID(WString::FromLocal(RandomUID()));
    state.ResetAppearanceStream();
    // Appearance should be reset.
    note.ResetAppearanceStream();
    cout << "Add a note annotation." << endl;
    
    // Save PDF file
    doc.SaveAs("new_document.pdf", PDFDoc::e_SaveFlagNoOriginal);
    C#
    using foxit;
    using foxit.common;
    using foxit.common.fxcrt;
    using foxit.pdf;
    using foxit.pdf.annots;
    
    using (PDFDoc doc = new PDFDoc())
    {
        // Add a blank A4 page to the document
        PDFPage page = doc.InsertPage(0, 595, 842);
        
        // Get first page with index 0
        using (PDFPage page = doc.GetPage(0))
        {
            // Add note annotation
            Note note = null;
            Annot annot = null;
            using (annot = page.AddAnnot(Annot.Type.e_Note, new RectF(10, 350, 50, 400)))
            using (note = new Note(annot))
            {
                note.SetIconName("Comment");
                note.SetSubject("Note");
                note.SetTitle("Foxit SDK");
                note.SetContent("Note annotation.");
                note.SetCreationDateTime(GetLocalDateTime());
                note.SetModifiedDateTime(GetLocalDateTime());
                note.SetUniqueID(RandomUID());
            }
            
            // Add state annotation to note annotation
            using (Note state = note.AddStateAnnot(Markup.StateModel.e_StateModelReview, Markup.State.e_StateAccepted))
            {
                state.SetContent("Accepted set by Foxit SDK");
                state.SetTitle("Foxit SDK");
                state.SetModifiedDateTime(GetLocalDateTime());
                state.SetUniqueID(RandomUID());
                state.ResetAppearanceStream();
                // Appearance should be reset.
                note.ResetAppearanceStream();
                Console.WriteLine("Add a note annotation.");
            }
            
            // Save PDF file
            String newPdf = output_path + "annotation.pdf";
            doc.SaveAs(newPdf, (int)PDFDoc.SaveFlags.e_SaveFlagNoOriginal);
        }
    }
    Key Features

    Everything You Need in One SDK

    Smart Forms

    Create, edit and fill PDF (AcroForms and XFA) forms progammatically. Give end users the ability to fill out digital forms that connect flawlessly to your systems through the import and export of FDF (Form Data Format) files.

    Read More

    Digital Signature

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

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

    Explore More

    Rights Management

    Our PDF SDK can generate secure PDFs with native encryption and decryption, or integrate with customized DRM or IRM security systems. Our technology integrates with Microsoft RMS.

    Explore More

    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.

    Explore More
    INTEGRATIONS

    Integrations & Open Source Solutions

    Cordova

    Cordova Support

    Foxit PDF SDK supports Cordova — hybrid apps that use one code base to create apps across multiple Operating Systems, instead of one for each OS.

    Explore More
    Kotlin

    Kotlin Support

    Our simple UI for Kotlin lets you integrate Foxit’s powerful PDF technology seamlessly into your Android apps.

    Explore More
    React Native

    React Native

    Develop Android and iOS mobile applications using JavaScript and React Native, natively — no need to develop for each platform separately.

    Explore More
    xamarin

    Xamarin

    Foxit PDF SDK supports Xamarin, allowing you to create apps for Android and iOS using C# and native UIs.

    Explore More
    Don't just take it from us

    Hear It from Our Customers

    I chose Foxit since it worked, was affordable, and uniquely accommodated to my business needs and business model. Foxit provided more sophisticated technology that enabled me to do things the others could not.

    WINSTON CHEN

    Founder · VoiceDream

    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. 

    AI Assistant