The annotation information saved in the dedicated annotation file is read by the LoadAnnotationFile method and drawn on the basic image.

Annotations can be loaded on to different base images than when the annotations were saved.

The same thing can be done using Toolbar Controls. See Using Toolbars.

Example Code

Saves the annotation information that is currently drawn on the ImageKit control.

[Visual Basic.NET]

'When using Annotation function, the following property must be set to True.
ImageKit1.Edit.EditEnabled = True

'Saved annotation file name
ImageKit1.Edit.AnnotationFileName = "annotation1.xml"
'Save to annotation file
ImageKit1.Edit.LoadAnnotationFile()

[Visual C#.NET]

//When using Annotation function, the following property must be set to True.
ImageKit1.Edit.EditEnabled = true;

//Saved annotation file name
ImageKit1.Edit.AnnotationFileName = "annotation1.xml";
//Save to annotation file
ImageKit1.Edit.LoadAnnotationFile();

Relevant Properties

ImageKit.Edit.AnnotationFileName

Relevant Methods

ImageKit.Edit.LoadAnnotationFile

The ImageKit WPF is created by Newtone Corporation