ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.ART Namespace |
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 Using ImageGear.ART.Windows.Controls Namespace 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; |
This section provides information about the following: