in PDF SDK Technology
We work with you to add complete PDF library functionality to your project and develop across all platforms and environments on one core API.
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);
}
}PDF technology helps engineering companies develop applications to help them become more productive and fully compliant.
Explore MoreRecent trends in the insurance industry has shown great innovation in PDF technology to provide better document management systems to clients.
Explore MoreBusinesses in banking have adopted many new technologies to improve their offering. We look at how PDF library technology can do this for them.
Explore MoreBy injecting PDF technology into your software, document management companies can enhance their security and retrieval of data for their customers.
Explore MoreCompliance can be a whirlwind of emotions for companies, but PDF technology can make life easier from many different points of view.
Explore MoreFor patients and staff, PDF technology lowers costs, reduces errors, improves care, centralizes systems and makes documents more accessible and traceable.
Explore MoreOur core API is designed from the ground up to deliver a seamless development experience across all platforms, without requiring deep PDF knowledge.
Foxit is known for our management of edge cases, and for working with 100% of PDF files across all standards. With only one SDK to work with, you dramatically reduce your exposure to third parties.
We provide sample projects, demos, API docs and more for every single feature in the PDF SDK to get you up to speed quickly.
Foxit’s team of sales engineers are PDF experts and coders by trade. They will assist you throughout your proof of concept process.
Supporting Fortune 500 customers that demand quality, we have the engineers, resources and the need to provide best-in-class rendering quality.
Compared to our competitors, Foxit’s technology is faster, more accurate, and it works.
With a truly worldwide presence, Foxit can provide you with the local support that you need through email, online messaging and phone calls in real-time.
The Out of Memory Management (OOM) feature will ensure that the SDK automatically recovers from any anomalous events with minimal effect to the users experience.
Foxit’s superior font matching algorithm can accurately determine which substitute most closely resembles the original non-embedded font and uses that to display the text.
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.
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.