Search results

Comments in Angular PDF Viewer component

28 Jul 2021 / 3 minutes to read

The PDF Viewer control provides options to add, edit, and delete the comments to the following annotation in the PDF documents:

  • Shape annotation
  • Stamp annotation
  • Sticky note annotation
  • Measurement annotation
  • Text markup annotation
  • Free text annotation
  • Ink annotation

Comments

Adding a comment to the annotation

Annotation comment, comment replies, and status can be added to the PDF document using the comment panel.

Comment panel

Annotation comments can be added to the PDF using the comment panel. The comment panel can be opened in the following ways:

  1. Using the annotation menu
  2. Click the Edit Annotation button in the PDF Viewer toolbar. A toolbar appears below it.
  3. Click the Comment Panel button. A comment panel will appear.
  4. Using Context menu
  5. Select annotation in the PDF document and right-click it.
  6. Select the comment option in the context menu that appears.
  7. Using the Mouse click
  8. Select annotation in the PDF document and double click it, a comment panel will appear.

If the comment panel is already in the open state, you can select the annotations and add annotation comments using the comment panel.

Adding comments

  • Select annotation in the PDF document and click it.
  • The selected annotation comment container is highlighted in the comment panel.
  • Now, you can add comment and comment replies using the comment panel.

AddingComments

Adding Comment Replies

  • The PDF Viewer control provides an option to add multiple replies to the comment.
  • After adding the annotation comment, you can add a reply to the comment.

Adding Comment or Reply Status

  • Select the Annotation Comments in the comment panel.
  • Click the more options button showing in the Comments or reply container.
  • Select the Set Status option in the context menu that appears.
  • Select the status of the annotation comment in the context menu that appears.

CommentStatus

Editing the comments and comments replies of the annotations

The comment, comment replies, and status of the annotation can be edited using the comment panel.

Editing the Comment or Comment Replies

The annotation comment and comment replies can be edited in the following ways:

  1. Using the Context menu
  2. Select the Annotation Comments in the comment panel.
  3. Click the More options button showing in the Comments or reply container.
  4. Select the Edit option in the context menu that appears.
  5. Now, an editable text box appears. You can change the content of the annotation comment or comment reply.
  6. Using the Mouse Click
  7. Select the annotation comments in the comment panel.
  8. Double click the comment or comment reply content.
  9. Now, an editable text box appears. You can change the content of the annotation comment or comment reply.

Editing Comment or Reply Status

  • Select the Annotation Comments in the comment panel.
  • Click the more options button showing in the Comments or reply container.
  • Select the Set Status option in the context menu that appears.
  • Select the status of the annotation comment in the context menu that appears.
  • Status ‘None’ is the default state. If the status is set to ‘None,’ the comments or reply does not appear.

CommentEdit

Delete Comment or Comment Replies

  • Select the Annotation Comments in the comment panel.
  • Click the more options button shown in the Comments or reply container.
  • Select the Delete option in the context menu that appears.

CommentEdit

The annotation will be deleted on deleting the comment using comment panel.