Insights, tutorials, and updates from the Foxit PDF SDK engineering team.
When it comes to editing PDFs, you can change just about anything with PDF SDK. Reorder pages, edit text on the fly, rotate pages and so much more. Take a look at the sample codes below to get started.Page reorder and page rotation Use the snippet below in order to reorder and rotate pages in the viewer.
Welcome to PDF SDK 7.6! This release comes with lots of new features as well as improvements to performance and bug fixes. Read on below for more information on this update. Highlights: REAL TIME COLLABORATION NOW AVAILABLE FOR WEB PDF PORTFOLIO SUPPORT ADDED HTML TO PDF SUPPORT FOR LINUX (WINDOWS AND MAC TOO!) NEW [...]
We’ve made some major upgrades to the user experience of PDF SDK in the past year. Tasks that used to require you to write a lot of code have now been integrated into the library to better help you with your development. This piece takes a look at some of these product improvements for Foxit. [...]
Foxit PDF SDK has the ability to combine or merge multiple PDFs into one. Please use the following sample codes for the different languages below to get started. Simple code for C++ #include "include/pdf/fs_combination.h" ...// SDK has already been initialized successfully. CombineDocumentInfoArray info_array; info_array.Add(CombineDocumentInfo(input_path + L"AboutFoxit.pdf", L"")); info_array.Add(CombineDocumentInfo(input_path + L"Annot_all.pdf", L"")); info_array.Add(CombineDocumentInfo(input_path + L"SamplePDF.pdf", L"")); [...]
We’re proud to announce Foxit PDF SDK 7.5 to our customers. Our final release of 2020 comes packed with new features, enhancements and further upgrades. Read on below for more information on this update. Highlights: LAYOUT RECOGNITION ENGINE EXTENDED TO MAC AND LINUX (WINDOWS TOO!) NEW WEB SDK FEATURES WEB VIEWER UI ENHANCEMENTS TOOLBAR BUTTON [...]
PDF linearization is a quick web viewing format which displays pages instantly without having to wait for an entire file to be completely downloaded. To make use of this feature, PDF SDK for Web’s viewer checks at the initialization stage to programmatically detect if it is a linearization document. If it is, the Web viewer uses the fast web view mode (AsyncReaderCallback) to request the data. Otherwise, it follows the normal process mode.
If you experience slow page loading with PDF SDK for Web, use Chrome Dev Tools to inspect your Network activity to check if the slowness is related to repeat file loading. If so, you should consider using a cache policy on static assets to optimize repeat page load speed. PDF SDK for Web allows a temporary and permanent cache on files. The cache code sample is available at ..\examples\PDFViewCtrl\service-worker in the Web SDK package.
preloadJRWorker is Foxits Web SDK worker thread to perform tasks in the background and with v7, major improvements have been made. Read more about it here.
PDF is one of the most ubiquitous file formats today. Whether you are submitting a resume for your next job, generating a financial report for your boss, or publishing a scientific whitepaper – PDF is the defacto format. Because it’s so widely used, you’re likely to run across many situations as a software developer where [...]
Foxit PDF SDK for Web has a huge range of custom fonts available with the Foxit package. Click here for more information on custom fonts with Foxit. Foxit PDF SDK for Web has a huge range of custom fonts available with the package. You can customize as much as you wish by using the 2 sample codes below. Setting up the font Path var pdfui = new PDFUI({ viewerOptions: { libPath: '../../../lib', preloadJR: true, jr: { licenseSN:"", LicenseKey:"", fontPath:"../external/brotli" } })