ImageGear PDF v25.2 - Updated
Enable Annotations in Your Project
Developer Guide > How to Work with... > ART Mark Annotations > Enable Annotations in Your Project

Using the ImageGear.ART Namespace, you can annotate any image that your application loads into ImageGear.  The annotations are called "ART marks", or "marks" for short.  Marks objects are created using their constructors, but their actual life starts when they are added into the ImGearARTPage Class. ART page can be associated with one or more ImGearPage Class objects. The association is done by using ImGearPageDisplay Class properties: Page Property and ARTPage Property. ART internally tracks the marks that are associated with the image and insures that marks are always displayed on the correct part of the image (even as the image is scrolled, rotated, flipped and zoomed). Your application can save an image with the marks into a separate file in legacy .ART file format or .XML file format. Any time the image is reloaded, the ART marks can be reloaded with a simple API call.

ImageGear.ART Namespace consists of the marks objects as well as the objects for handling marks.

ImageGear.ART.Forms Namespace consists of the GUI objects for interacting with marks and toolbars and marks property dialogs in a WinForms application.

ImageGear.ART.Windows.Controls Namespace consists of the GUI objects for interacting with marks and toolbars and marks property dialogs in a WPF application. See the ART Mark Annotations section.

To enable the ImageGear.ART Namespace in your project, specify the following directive:

C#
Copy Code
using ImageGear.ART;

To enable the ImageGear.ART.Forms Namespace in your project, specify the following directive:

C#
Copy Code
using ImageGear.ART.Forms;

To enable the ImageGear.ART.Windows.Controls Namespace in your project, specify the following directive:

C#
Copy Code
using ImageGear.ART.Windows.Controls;
Is this page helpful?
Yes No
Thanks for your feedback.