LoadAnnotations Example VB

This example uses the LoadAnnotations method to load annotations from a file that is separate from the image file.

Private Sub cmdLoadAnnos_Click()
    'Load annotations which were previously saved to a new
    'image file.  You could create a template for OCR recognition
    'zones using these methods.  Used in conjunction with the
    'SaveAnnotations method.
    'Load annotations from file ocrzones.ano onto page 1
    'of the currently displayed image.
    ImgEdit1.LoadAnnotations "D:\ocrzones.ano", 1, 1, 0
End Sub