Interact with PDF annotations and form fields in PDF Editor Demo

Blog category: PDF.NET

May 20, 2020

"PDF Visual Editor" edition of VintaSoft PDF .NET Plug-in provides functionality for visual editing of PDF document. The visual tool PdfAnnotationTool is included in "PDF Visual Editor" edition and allows to interact with PDF annotations. PdfAnnotationTool guarantees the compatibility of created PDF annotations with all PDF viewing applications.

This article describes how PdfAnnotationTool class is used in VintaSoft PDF Editor Demo.


Create and change PDF annotations using mouse and keyboard in VintaSoft PDF Editor Demo

VintaSoft PDF Editor Demo allows to:


Fill, create and edit PDF interactive fields using mouse and clipboard in VintaSoft PDF Editor Demo

VintaSoft PDF Editor Demo allows to:


Use different interaction modes in VintaSoft PDF Editor Demo

View mode is intended for viewing a PDF document and filling PDF interactive fields.
Markup mode is intended for viewing and annotating a PDF document and filling PDF interactive fields.
Edit mode is intended for viewing a PDF document, editing of PDF annotations and PDF interactive fields.

In View and Edit modes:


In Edit mode:


Use the barcode fields in VintaSoft PDF Editor Demo

VintaSoft PDF Editor Demo uses VintaSoft Barcode .NET SDK for generating the barcodes and allows to create and edit barcode fields in accordance with "PDF 1.7 ExtensionLevel 3" specification.

There are allowable three barcode types: QR Code, DataMatrix, PDF417
Use PDF interactive field with QR Code, DataMatrix, PDF417 barcode in VintaSoft PDF Editor Demo

The barcode value can be computed dynamically using JavaScript code (for example, barcode may contain all form values divided by the character '|' and may be changed when any field is changed):
Dynamically calculate value of PDF interactive barcode field in VintaSoft PDF Editor Demo



Perform JavaScript code in VintaSoft PDF Editor Demo

Lets create PDF document, which contains a simple "calculator", for testing the execution of JavaScript actions in PDF. For doing this we need to perform the following steps:

Perform JavaScript code in VintaSoft PDF Editor Demo

The resulting PDF document with calculator is ready and can be tested in VintaSoft PDF Editor Demo and any other PDF viewer application! :-)


Debug JavaScript code in VintaSoft PDF Editor Demo

In VintaSoft PDF Editor Demo is possible to debug JavaScript code if select menu "View -> JavaScript -> Debugger":
Debug JavaScript code in VintaSoft PDF Editor Demo


Source codes of VintaSoft PDF Editor Demo

Source codes of VintaSoft PDF Editor Demo can be found in distributive package of VintaSoft Imaging .NET SDK and can be used as template for your own code.