Image Example VC++

These examples show how to set the Image property when you are scanning to different repositories. Single slashes can be forward (/) or backward (\).

void CNewscanDlg::OnImage() 
{
    // Example of setting image property to a local file
    ImgScan1.SetImage ("C:\\scanimg\\contract.tif");

    // Syntax for 1.x Server document (Single slashes can be forward or back)
    // Note: prefix Image:// denotes service name for 1.x server
    ImgScan1.SetImage
        ("Image://srvrname\volname:\\CABNAME\\DRAWERNAME\\FOLDERNAME\\YOUR DOC");
   
    // Syntax for 1.x Server filename with a volume name mapped.
    ImgScan1.SetImage ("Image://srvrname/volname:/dirname/temp.tif");
}