User Guide > How to Work with... > ART Annotations > Using ImageGear.ART.Windows.Controls Namespace > Toolbar Annotator |
While it is not required for the Annotator to use a toolbar (you can force the Annotator to change its Tool property using menu items, radio buttons, etc.), most applications will probably use a toolbar.
The ToolBarAnnotator Class is a version of the Annotator that implements a toolbar based UI control. The purpose of this class is to demonstrate the use of a toolbar, implemented in the ToolBar Class, with the Annotator in WPF .NET applications. This class, as the rest of this namespace, is distributed with the source code and could be adjusted and modified as required. The following code demonstrates initialization of the ToolBarAnnotator Class:
C# |
Copy Code |
---|---|
Annotator m_Annotator;
m_Annotator = new ToolBarAnnotator(m_igPageView, m_AnnotationMenu.ToolBar); |
ToolBarAnnotator Class inherits all the properties of the Annotator Class.