The Edit class contains the properties and methods for editing and annotating images. For a list of all members of the Edit class, please refer to Edit Members

Explanation

The ImageKit.NET3 ImageKit control implements a number of editing and annotation functions. These functions allow annotation objects to be drawn using the mouse or by executing various Edit methods. The annotation objects implemented by the Edit class are listed below:

Using the mouse to draw annotation objects:

NOTE: Annotations are enabled only on the base image in the ImageKit control. For more information about using methods to draw annotation objects, please refer to explanation of those methods in the Help documentation under the Edit interface. For information about annotations and editing using various toolbar controls, please see the properties of these toolbar controls: Newtone.ImageKit.Win.ToolBarAnnotation, Newtone.ImageKit.Win.ToolBarSetUpLines, Newtone.ImageKit.Win.ToolBarSetUpObjects and Newtone.ImageKit.Win.ToolBarStandard.

IMPORTANT: While editing, all annotation objects will be cleared if the EditEnabled property is set to False, or a new image is loaded into the ImageKit control, or the Image property changes. To save any annotation objects, execute the SaveAnnotationFile method to save the annotation information to XML file or execute the DrawEditedObjectsToImage method to rasterize the annotations and embed them into the image.

If the image displayed is larger than the ImageKit control and a Line, Rectangle, Ellipse, Pen, or Text object is selected, moved, changed, etc and the mouse is dragged beyond the ImageKit control, the image will automatically be scrolled according to the mouse movement.

For more information about the Context menu, please refer to the ContextMenuEnable property.

See Also

Edit Members

 

The ImageKit.NET3 is created by Newtone Corporation