August 2019

How to Protect Annotations with Foxit PDF SDK for Web

by Conor Smith | August 21, 2019
Protecting annotations adds another layer of security for your PDF documents. Our feature described below sets the annotation to a locked state where only the reply can not be edited. With Foxit PDF SDK for Web, this is easily achieved with the following code: pdfDoc.getAnnots().then((data) => { let annot = data[0][0]; annot.setFlags(128); });
Keep reading Keep reading

How to Create Hyperlinks with Foxit PDF SDK for Web

by Conor Smith | August 21, 2019
Adding hyperlinks with Foxit PDF SDK for Web allows you to link to different documents on the web. When the PDFUI or PDFViewer is initialized with Foxit PDF SDK for Web, you can add in a custom parameter which is configured as follows: Note: Return false means that the default action is not executed and […]
Keep reading Keep reading

How to Create Image Annotations with Foxit PDF SDK for Web

by Conor Smith | August 21, 2019
The image annotation feature allows you to add graphic annotations to PDF files, perfect for situations when text annotations don’t suffice. Foxit PDF SDK for Web allows you to use this feature by adding the simple code below: var obj = { type: "screen", rect: { left:60, right:160, top:470, bottom:370 } }; var url = 'http://localhost:8780/docs/test.png'; var xhr […]
Keep reading Keep reading

How to Create Stamp Annotations with Foxit PDF SDK for Web

by Conor Smith | August 21, 2019
The stamp annotation feature displays text or graphics intended to look as if they were stamped on the page with a rubber stamp. Foxit PDF SDK for Web allows you to use this feature by adding the simple code below: //add stamp resource to pdfui pdfui.addIcon({ annotType: "Stamp", catagory: "catagory", name: "customStampName1", fileType: "png", url: […]
Keep reading Keep reading
Used everywhere

Trusted by