Image Example VB

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

Private Sub cmdSetImage_Click()
    'Syntax for setting image property to a local file.
    ImgScan1.Image = "C:/scanimg/contract.tif"

   'Syntax for a 1.x Server document. Single slashes can be forward or
   'back. Note that the prefix Image:// represents the service name for
   'a 1.x server.
    ImgScan1.Image = 
        "Image://srvrname\volname:\CABNAME\DRAWERNAME\FOLDERNAME\YOURDOC"

    'Syntax for 1.x Server filename with a volume name mapped.
    ImgScan1.Image = "Image://srvrname/volname:/dirname/temp.tif"
End Sub