Foxit PDF SDK for Web

How to Add Another Language to Foxit PDF SDK for Web

by Conor Smith | July 27, 2020
Foxit PDF SDK for Web enables you to update all of the strings used by the PDF viewer so you can change it to your language. You can easily create a new folder for your own language at the ‘locales’ folder and translate the string content on ‘ui.json’ and ‘viewer.json’ for all objects. By directing […]
Keep reading Keep reading

How to Use Foxit PDF SDK for Web Offline

by Conor Smith | July 27, 2020
Using PDF SDK for Web offline enables you to get the most out of our Web based JavaScript PDF viewer for your workflows. In order to use the SDK offline, please follow the following easy steps: Turn off your internet connection and visit https://webviewer-demo.foxit.com/examples/UIExtension/pwa/. You will get a ‘no internet connection’ message on your screen. Next, re-connect […]
Keep reading Keep reading

Introduction to PDF SDK for Web Permissions

by Conor Smith | June 9, 2020
PDF SDK for Web enables you to integrate a PDF viewer in a website and provides a very flexible permission configuration to help you control documents better. It supports viewer side user permissions to control how users can interact with documents. By default, users can directly interact with documents and can be restricted by document […]
Keep reading Keep reading

Advanced Annotation Handling with Foxit PDF SDK for Web

by Conor Smith | May 12, 2020
Foxit PDF SDK for Web provides two methods to set annotation flags; annotManager.setViewerAnnotFlag() and annot.setFlags(). These two options meet different use cases. annotManager.setViewerAnnotFlag() sets annotation flags to lock the annotations of other users at the application level. No settings or changes will be saved to the PDF. annot.setFlags(): sets annotation flags at document level. Any settings or […]
Keep reading Keep reading

How to Disable Downloads with Foxit PDF SDK for Web

by Conor Smith | May 12, 2020
Disabling the download function applies to both the UI and API. This can be achieved by using the option with PDFViewer::constructor getAdditionalPerm:function() as below: { return 0; //zero means disable } Once set, the Download menu will be grayed out in the UI menu list, and the API calling to get the file will see a permission error […]
Keep reading Keep reading

How to run Vue.js with PDF SDK for Web

by Conor Smith | April 27, 2020
The guide below details 2 examples. One introduces how to quickly run the boilerplate sample for Vue.js inside Foxit PDF SDK for Web, and the other presents a way to integrate Foxit PDF SDK for Web in an existing Vue app. Quickly run the built-in example for Vue.js Foxit PDF SDK for Web provides a […]
Keep reading Keep reading

How to run ReactJS with PDF SDK for Web

by Conor Smith | April 27, 2020
The guide below details 2 examples. One introduces how to quickly run the boilerplate sample for React.js inside Foxit PDF SDK for Web, and the other presents a way to integrate Foxit PDF SDK for Web into an existing React app created with WebPack and Babel. Quickly run the built-in example for React.js Foxit PDF […]
Keep reading Keep reading

How to build a PDF library with React

by Conor Smith | April 7, 2020
React is a popular JavaScript library for building user interfaces. It allows developers to build encapsulated user interface components. More importantly, React manages the state of each component instance. The end result is clean code with less maintenance effort. An experienced developer may only need to spend a day reading the React tutorial and start […]
Keep reading Keep reading
Used everywhere

Trusted by