HelpBot Assistant

How can I help you?

Annotations in mobile view in TypeScript PDF Viewer control

13 Feb 20263 minutes to read

This article describes how to use annotation tools in the Syncfusion JavaScript (Essential JS 2) PDF Viewer on touch-enabled devices. It covers enabling the annotation toolbar; adding sticky notes, text markups, shapes, measurements, stamps, signatures, and ink; adjusting annotation properties before and after placement; using comments; and removing annotations.

Open the annotation toolbar

Step 1: Select the Edit Annotation icon on the main toolbar to enable the annotation toolbar.

Enable the annotation toolbar

Step 2: The annotation toolbar appears below the main toolbar and displays tools optimized for touch interaction.

Annotation toolbar displayed

Add sticky note annotations

Step 1: Select the Sticky Notes icon to activate the sticky note tool, then tap the desired location on the page to place a note.

Open sticky note tool

Step 2: A sticky note annotation is added at the selected location; opening the note allows viewing or editing its content.

Sticky note annotation added on the page

Add text markup annotations

Step 1: Select a text markup icon, highlight the desired text, then confirm the selection to apply the markup.

Select text for markup

Step 2: The text markup annotation is applied to the highlighted text.

Text markup applied on the page

Add shape and measurement annotations

Step 1: Select the Shape or Measure icon to open the corresponding toolbar.

Open shape and measurement tools

Step 2: Choose a shape or measurement type and draw it on the page.

Select measurement type

Step 3: The annotation is rendered on the PDF page.

Measurement annotation placed on the page

Add stamp annotations

Step 1: Select the Stamp icon and choose a stamp type from the menu.

Open stamp tool

Step 2: Tap the page to place the chosen stamp annotation.

Stamp annotation added on the page

Add signature annotations

Step 1: Select the Signature icon to open the signature canvas. Draw the signature, choose Create, then tap the viewer to place it.

Open signature canvas

Step 2: The signature annotation is added to the page.

Signature placed on the page

Add ink annotations

Step 1: Select the Ink tool and draw directly on the page.

Open ink tool

Step 2: The ink annotation is rendered on the page.

Ink annotation drawn on the page

Change annotation properties (before adding)

Step 1: Adjust annotation properties before placement as required.

Step 2: Open the property toolbar for the annotation icon, set the desired properties, and then place the annotation on the page.

Adjust fill color before adding

Change annotation properties (after adding)

Step 1: Modify annotation properties after placement when necessary.

Step 2: Select the annotation to display the property toolbar, then update the properties as needed.

Edit annotation properties after adding

Delete annotations

Step 1: Select the annotation to display the property toolbar, then choose the Delete icon to remove the annotation.

Delete icon in the property toolbar

Open the comment panel

Step 1: Open the comment panel from the property toolbar or the annotation toolbar.

Open the comment panel

Step 2: The comment panel is displayed.

Comment panel displayed

Close the comment panel

Step 1: Use the Close button to dismiss the comment panel.

Close the comment panel

See also