VintaSoft Annotation .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft Annotation .NET Plug-in Discussions
// Given a ReferencedImageAnnotation
ReferencedImageAnnotation ria = new ReferencedImageAnnotation();
ria.Filename = "C:/mypicture.jpg";
...
// Edit the Image - create a Form to edit the Image.
PictureEditDialog editDialog = new Anno_PictureEdit(ria.Image);
if (editDialog.ShowDialog(this) == DialogResult.OK){
//save the Image back to disk
Image modifiedImage = editDialog.Image;
modifiedImage.Save(ria.Filename);
ria.Filename = fileName; //this refreshes the Annotation on the AnnotationViewer.
}