SaveAnnotations Example VB

This example uses the SaveAnnotations method to save annotations to a file that is separate from the image file.

Private Sub cmdSaveAnnos_Click()
    'This example enables annotations to be saved to
    'a file and stored separately from the image file.
    'It is useful if you want to annotate images but not modify
    'the original file (for legal purposes, or if the image
    'is on optical disk). Use in conjunction with the LoadAnnotations method.

    'Save the annotation marks on page 1 of the displayed
    'file to a new file and remove them from the existing file.
    ImgEdit1.SaveAnnotations "D:\template\savemark.ano", 1, 1, REMOVE_ANNOTATIONS
End Sub