LoadAnnotations Example VC++

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

void CImgEdit2Dlg::OnLoadannotations() 
{
    // Load annotations which were previously saved on 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 the currently displayed image.
    ImgEdit1.LoadAnnotations ("c:\\savemark.ano", 1, 1, 0);
    
}