Foxit PDF SDK for Web

How to Show the First Third of a PDF with Foxit PDF SDK for Web

by Conor Smith | August 25, 2020
Often times you need to show just certain parts of a PDF. This is often due to a particular PDF template that a company follows with the same kinds of information in the same location. For example, a 6 page invoice where you just want to show the first 2 pages that contains the key information you’re after. The […]
Keep reading Keep reading

How to Customize Right Click Annotation Menus with Foxit PDF SDK for Web

by Conor Smith | August 12, 2020
This guide will walk you through the following topics: Customizing a right-click menu for supported annotations Customizing a right-click menu for unsupported annotations Hiding a right click menu or menu items Showing a customized right-click menu Customize right-click menu for supported annotations Foxit’s JavaScript Web PDF Library supports most standard annotation types. Each type can have its […]
Keep reading Keep reading

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
Used everywhere

Trusted by