Code Samples
Samples
Search Text in PDF
This sample shows how to do a full document search and highlight keywords
Add Annotations to PDF
This sample shows how to set the annotations (including markup, notes, ink, free text, shapes, stamp, and so on), and delete them
Import & Export Annotations in PDF
This sample shows how to set up the export and import of annotations. The document from which the annotations are exported is an xfdf file
Create Interactive Forms in PDF
This sample shows how to print form list information, set up interactive forms (including Text Field, Check Box, Radio Button, Push Button, List Box and Combo Button), and fill out form information
Document Editor
This sample shows how to manipulate multiple pages of a pdf document, including insert, replace, extract, rotate, and so on.
Encrypt and Protect PDF
This sample shows how to set permission passwords for opening documents and decrypt them.
Flatten PDF
This sample shows how to create a copy of Flattened.
Compare PDF files
The provided samples demonstrate two methods for comparing documents: Overlay Comparison and Content Comparison.