User Guide > How to Work with... > Common Operations > Viewing > Viewing with WPF > Controls for XAML Application Development > Toolbar > Annotation Mouse Tools |
To access the annotation toolbar functionality in the PageView control:
Set the PageView mouse tool programmatically by setting the PageView.MouseTool property to an annotation mouse tool setting.
For example, if you set the MouseTool property to CreateRectangleMark, the user can then use the mouse to create a rectangle mark. You can set the PageView.MouseTool property to SelectMark so that the user can edit marks, such as moving them or resizing them.
For more information on the ImageGear.Windows.Controls.Art assembly and annotation creation, editing, and settings, see the Annotations section.