Save the annotation objects drawn on the base image into a dedicated annotation file by executing the SaveAnnotationFile method.
The saved information can be loaded on another basic image even after the project is finished.
The same thing can be done using Toolbar Controls. See Using Toolbars
Example Code
Saves the annotation information currently drawn on the base image.
[Visual Basic.NET]
'When using Annotation
function, the following property must be set to True.
ImageKit1.Edit.EditEnabled = True
'Annotation file name (extension can be decided arbitrarily)
ImageKit1.Edit.AnnotationFileName = "annotation1.xml"
'Save to annotation file
ImageKit1.Edit.SaveAnnotationFile()
ImageKit1.Edit.EditEnabled = True
'Annotation file name (extension can be decided arbitrarily)
ImageKit1.Edit.AnnotationFileName = "annotation1.xml"
'Save to annotation file
ImageKit1.Edit.SaveAnnotationFile()
[Visual C#.NET]
//When using
Annotation function, the following property must be set to
True.
ImageKit1.Edit.EditEnabled = true;
//Annotation file name (extension can be decided arbitrarily)
ImageKit1.Edit.AnnotationFileName = "annotation1.xml";
//Save to annotation file
ImageKit1.Edit.SaveAnnotationFile();
ImageKit1.Edit.EditEnabled = true;
//Annotation file name (extension can be decided arbitrarily)
ImageKit1.Edit.AnnotationFileName = "annotation1.xml";
//Save to annotation file
ImageKit1.Edit.SaveAnnotationFile();
Relevant Properties
ImageKit.Edit.AnnotationFileName