Annotations in WPF PDF Viewer

4 Jun 20241 minute to read

The WPF PDF Viewer allows you to review PDF Files with the rich set of annotating tools. You can add, edit or remove the following annotations in PDF files.

  • Ink.
  • Text markups (Highlight, Underline, Squiggly and Strikethrough).
  • Shapes (Line, Circle, Rectangle, Arrow, Polygon and Polyline).
  • Stamp.
  • Text box (Text and Text Callout).
  • Sticky note.

Keyboard shortcuts

The below keyboard shortcuts are available to customize the annotation in the PDF document.

  • Delete key: Deletes the selected annotation from the PDF document.
  • Ctrl + Z: Performs undo functionality for recently performed operations.
  • Ctrl + Y: Performs redo functionality for recently performed operations.
  • Ctrl + C: To copy the selected annotation except the TextMarkup annotations.
  • Ctrl + X: To cut the selected annotation except the TextMarkup annotations.
  • Ctrl + V: To paste the recently cut/copied annotation.
  • Esc key: To exit from the annotation mode.
  • Up, down, right, left (direction keys): Moves the annotations up, down, right, and left, respectively.

NOTE

You can find the example projects in the GitHub example.