Example of undefined in Javascript PDF Viewer Control

/
/
Programmatic Operations

This sample demonstrates the creation of various types of annotations in the PDF viewer, including text markup, shapes, measurements, free text, stamps, handwritten signatures, ink, and sticky notes. Additionally, we can customize existing annotations or add new annotations programmatically in the PDF viewer using the provided options.

More Details...

Properties
Annotation Type
Page Number
Settings:
X Position
Y Position
Width
Height
Shape Opacity
Fill Color
Stroke Thickness
Stroke Color
Print Annotation
Lock Annotation
Add Comments
Author
Content
Status
Reply
    Description

    The PDF Viewer component allows the process of programmatically adding or modifying annotations within a PDF document. With the ability to programmatically add any type of annotation using the addAnnotation API and edit existing annotations using the editAnnotation API, users can seamlessly enhance their PDF viewing experience. The creation of an annotation when clicking the ‘Add annotation’ button depends on the selected properties from the Property panel. To update an existing annotation, users can select the desired annotation, modify its properties, and then click the ‘Update’ button. We can programmatically add or update the following types of annotations in the PDF viewer: Text markup annotation Shape annotations Measurements annotation Free text annotation Stamp annotation Ink annotation Sticky notes annotation More information on adding annotation programmatically can be found in this documentation section.