Foxit PDF SDK
for UWP

Our PDF SDK for UWP focuses on helping developers integrate PDF technology easily into their apps. Enjoy the native performance of developing a UWP app with complete source code control and a built in PDF viewer.

The best tools for developers

Fast integration

Build UWP apps that can view, create and edit PDF documents with ease. Our UI Extension provides a fully customizable user interface with built-in tools for text mark-up, drawing, form filling, full-text searching and so much more. Using our Core API your developers can code with our PDF libraries quickly and proficiently, harnessing Foxit’s powerful PDF SDK technology to give your customers a great product. Created with UWP’s fluent design guidelines in mind, our PDF SDK is the perfect companion for any UWP mobile app.

//Render the pdf page, then save it to a bitmap file. void FunctionDemo::MainPage::render_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e) { StorageFolder^ documentFolder = Windows::Storage::KnownFolders::DocumentsLibrary; std::shared_ptr spBitmap = std::make_shared(nullptr); create_task(documentFolder->GetFileAsync("FoxitBigPreview.pdf")).then([=](StorageFile^ file) { try { m_doc = ref new FSPDFDoc(file, 0); if (!m_doc) { return; } FSErrorCode code = m_doc->Load(""); if (code != FSErrorCode::e_errSuccess) { return; } FSPDFPage^ page = m_doc->GetPage(0); if (!page->IsParsed()) { page->StartParse(0, nullptr, false); } //create bitmap int pageWidth = (int)page->GetWidth(); int pageHeight = (int)page->GetHeight(); *spBitmap = ref new FSBitmap(pageWidth, pageHeight, FSDIBFormat::e_dibRgb32, nullptr, 0); if (!(*spBitmap)) { return; } (*spBitmap)->FillRect(0xffffffff, nullptr); //init renderer FSRenderer^ render = ref new FSRenderer((*spBitmap), false); if (!render) { return; } //set different kinds of properties render->SetRenderContentFlags((int)FSRenderContentFlag::e_renderPage); render->SetTransformAnnotIcon(true); render->SetColorMode(FSRenderColorMode::e_colorModeNormal); render->SetForceHalftone(true); FSMatrix^ matrix = page->GetDisplayMatrix(0, 0, pageWidth, pageHeight, FSRotation::e_rotation0); render->StartRender(page, matrix, nullptr); } catch (Platform::Exception^ e) { OutputDebugString(e->Message->Data()); } }).then([=]() { return documentFolder->CreateFileAsync("Output_Render.bmp", CreationCollisionOption::ReplaceExisting); }).then([=](StorageFile^ file) { FSImage^ img = ref new FSImage(); img->AddFrame((*spBitmap)); if(img->SaveAs(file, "bmp")) this->showMesseageDialog("", "The output file is saved to:" + file->Path); else this->showMesseageDialog("", "error!"); });
C++
server.js 100% | 6/6 ln : 4
Developing with Foxit

Built for UWP

Requires Windows 10; Visual Studio 2015 or later.

Developer Benefits

Designed for faster development

Native UI

Our UWP PDF SDK is built with developers in mind. We provide a built in PDF viewer which will half your development time while allowing you to customize your viewer to your business needs.

Easy to Integrate

We designed our UWP PDF Library with platform considerations a priority. This means that we follow UWP specific naming conventions and fluent design principles to make our product native to it.

Feature-rich

Our feature set is consistent across mobile and desktop platforms to make cross platform developer 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.

Redaction

Achieve full GDPR-compliance by programmatically searching and sensoring sensitive information in your documents for legal or security purposes. Keep your customer and employee information safe.

Perform specific tasks

Function Specific Products

UWP PDF Reader

Our UWP PDF Reader is built with our PDF SDK for UWP and free to download from the Microsoft Store. Try our technology today.

Used everywhere

Trusted by some of the world’s largest companies.

Take a look at who uses our technology.