PRODUCT
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.
Take a look at who uses our technology.
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.
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);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);
}
}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 MoreUse ink signatures to let customers sign documents in their digital devices. Sign PDF easily without needing to print a file to sign again!
Read MoreOur 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 MoreOur core API provides for high-fidelity rendering of PDF documents with optimized performance for desktop and mobile platforms.
Explore MoreOur 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 MoreFast 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 MoreFoxit 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 MoreOur simple UI for Kotlin lets you integrate Foxit’s powerful PDF technology seamlessly into your Android apps.
Explore MoreDevelop Android and iOS mobile applications using JavaScript and React Native, natively — no need to develop for each platform separately.
Explore MoreFoxit PDF SDK supports Xamarin, allowing you to create apps for Android and iOS using C# and native UIs.
Explore MoreI 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
Try our SDK for Web in your browser. No download or login required.
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.